[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / DebugInfo / SystemZ / eh_frame.s
blobad7862f97481b54ed379b8639638716db37958b0
1 # RUN: llvm-mc -triple=s390x-linux-gnu -filetype=obj %s -o %t
2 # RUN: llvm-objdump -s %t | FileCheck %s
4 .text
5 .globl check_largest_class
6 .align 4
7 .type check_largest_class,@function
8 check_largest_class:
9 .cfi_startproc
10 stmg %r13, %r15, 104(%r15)
11 .cfi_offset %r13, -56
12 .cfi_offset %r14, -48
13 .cfi_offset %r15, -40
14 aghi %r15, -224
15 .cfi_def_cfa_offset 384
16 std %f8, 160(%r15)
17 std %f9, 168(%r15)
18 std %f10, 176(%r15)
19 std %f11, 184(%r15)
20 std %f12, 192(%r15)
21 std %f13, 200(%r15)
22 std %f14, 208(%r15)
23 std %f15, 216(%r15)
24 .cfi_offset %f8, -224
25 .cfi_offset %f9, -216
26 .cfi_offset %f10, -208
27 .cfi_offset %f11, -200
28 .cfi_offset %f12, -192
29 .cfi_offset %f13, -184
30 .cfi_offset %f14, -176
31 .cfi_offset %f15, -168
32 lmg %r13, %r15, 328(%r15)
33 br %r14
34 .size check_largest_class, .-check_largest_class
35 .cfi_endproc
37 # The readelf rendering is:
39 # Contents of the .eh_frame section:
41 # 00000000 0000000000000014 00000000 CIE
42 # Version: 3
43 # Augmentation: "zR"
44 # Code alignment factor: 1
45 # Data alignment factor: -8
46 # Return address column: 14
47 # Augmentation data: 1b
49 # DW_CFA_def_cfa: r15 ofs 160
50 # DW_CFA_nop
51 # DW_CFA_nop
52 # DW_CFA_nop
54 # 000000.. 000000000000002c 0000001c FDE cie=00000000 pc=0000000000000000..0000000000000032
55 # DW_CFA_advance_loc: 6 to 0000000000000006
56 # DW_CFA_offset: r13 at cfa-56
57 # DW_CFA_offset: r14 at cfa-48
58 # DW_CFA_offset: r15 at cfa-40
59 # DW_CFA_advance_loc: 4 to 000000000000000a
60 # DW_CFA_def_cfa_offset: 384
61 # DW_CFA_advance_loc: 32 to 000000000000002a
62 # DW_CFA_offset: r24 at cfa-224
63 # DW_CFA_offset: r28 at cfa-216
64 # DW_CFA_offset: r25 at cfa-208
65 # DW_CFA_offset: r29 at cfa-200
66 # DW_CFA_offset: r26 at cfa-192
67 # DW_CFA_offset: r30 at cfa-184
68 # DW_CFA_offset: r27 at cfa-176
69 # DW_CFA_offset: r31 at cfa-168
70 # DW_CFA_nop
71 # DW_CFA_nop
72 # DW_CFA_nop
74 # CHECK: Contents of section .eh_frame:
75 # CHECK-NEXT: 0000 00000014 00000000 017a5200 01780e01 {{.*}}
76 # CHECK-NEXT: 0010 1b0c0fa0 01000000 0000002c 0000001c {{.*}}
77 # CHECK-NEXT: 0020 00000000 00000032 00468d07 8e068f05 {{.*}}
78 # CHECK-NEXT: 0030 440e8003 60981c9c 1b991a9d 199a189e {{.*}}
79 # CHECK-NEXT: 0040 179b169f 15000000 {{.*}}