~ubuntu-branches/ubuntu/trusty/llvm-toolchain-snapshot/trusty-201310232150

« back to all changes in this revision

Viewing changes to test/DebugInfo/SystemZ/eh_frame_personality.s

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-27 15:01:57 UTC
  • mfrom: (0.10.1) (0.9.1) (0.8.1) (0.7.1) (0.6.1) (0.5.2)
  • Revision ID: package-import@ubuntu.com-20130527150157-tdkrsjpuvht7v0qx
Tags: 1:3.4~svn182733-1~exp1
* New snapshot release (3.4 release)
* Add a symlink of libLLVM-3.4.so.1 to usr/lib/llvm-3.4/lib/libLLVM-3.4.so
    to fix make the llvm-config-3.4 --libdir work (Closes: #708677)
  * Various packages rename to allow co installations:
    * libclang1 => libclang1-3.4
    * libclang1-dbg => libclang1-3.4-dbg
    * libclang-dev => libclang-3.4-dev
    * libclang-common-dev => libclang-common-3.4-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# RUN: llvm-mc -triple=s390x-linux-gnu -filetype=obj %s -o %t
 
2
# RUN: llvm-objdump -s %t | FileCheck %s
 
3
 
 
4
        .text
 
5
        .globl  foo
 
6
        .align  4
 
7
        .type   foo,@function
 
8
foo:                                    # @foo
 
9
        .cfi_startproc
 
10
        .cfi_personality 155, DW.ref.__gxx_personality_v0
 
11
        .cfi_lsda 27, .Lexception0
 
12
        stmg    %r14, %r15, 112(%r15)
 
13
        .cfi_offset %r14, -48
 
14
        .cfi_offset %r15, -40
 
15
        aghi    %r15, -160
 
16
        .cfi_def_cfa_offset 320
 
17
        lmg     %r14, %r15, 272(%r15)
 
18
        br      %r14
 
19
        .size   foo, .-foo
 
20
        .cfi_endproc
 
21
 
 
22
        .section        .gcc_except_table,"a",@progbits
 
23
        .align  4
 
24
.Lexception0:
 
25
 
 
26
        .hidden DW.ref.__gxx_personality_v0
 
27
        .weak   DW.ref.__gxx_personality_v0
 
28
        .section        .data.DW.ref.__gxx_personality_v0,"aGw",@progbits,DW.ref.__gxx_personality_v0,comdat
 
29
        .align  8
 
30
        .type   DW.ref.__gxx_personality_v0,@object
 
31
        .size   DW.ref.__gxx_personality_v0, 8
 
32
DW.ref.__gxx_personality_v0:
 
33
        .quad   __gxx_personality_v0
 
34
 
 
35
# The readelf rendering is:
 
36
#
 
37
# Contents of the .eh_frame section:
 
38
#
 
39
# 00000000 0000001c 00000000 CIE
 
40
#   Version:               1
 
41
#   Augmentation:          "zPLR"
 
42
#   Code alignment factor: 1
 
43
#   Data alignment factor: -8
 
44
#   Return address column: 14
 
45
#   Augmentation data:     9b ff ff ff ed 1b 1b
 
46
#
 
47
#   DW_CFA_def_cfa: r15 ofs 160
 
48
#   DW_CFA_nop
 
49
#   DW_CFA_nop
 
50
#   DW_CFA_nop
 
51
#
 
52
# 00000020 0000001c 00000024 FDE cie=00000000 pc=00000000..00000012
 
53
#   Augmentation data:     ff ff ff cf
 
54
#
 
55
#   DW_CFA_advance_loc: 6 to 00000006
 
56
#   DW_CFA_offset: r14 at cfa-48
 
57
#   DW_CFA_offset: r15 at cfa-40
 
58
#   DW_CFA_advance_loc: 4 to 0000000a
 
59
#   DW_CFA_def_cfa_offset: 320
 
60
#   DW_CFA_nop
 
61
#   DW_CFA_nop
 
62
#
 
63
# CHECK: Contents of section .eh_frame:
 
64
# CHECK-NEXT: 0000 0000001c 00000000 017a504c 52000178  .........zPLR..x
 
65
# CHECK-NEXT: 0010 0e079b00 0000001b 1b0c0fa0 01000000  ................
 
66
# CHECK-NEXT: 0020 0000001c 00000024 00000000 00000012  .......$........
 
67
# CHECK-NEXT: 0030 04000000 00468e06 8f05440e c0020000  .....F....D.....