2 # RUN: llvm-mc -triple=aarch64-linux-gnu -filetype=obj -o %t %s
3 # RUN: llvm-jitlink -noexec -phony-externals -debug-only=jitlink %t 2>&1 | \
6 # Check that splitting of eh-frame sections works.
8 # CHECK: DWARFRecordSectionSplitter: Processing .eh_frame...
9 # CHECK: Processing block at
10 # CHECK: Processing CFI record at
11 # CHECK: Processing CFI record at
12 # CHECK: EHFrameEdgeFixer: Processing .eh_frame in "{{.*}}"...
13 # CHECK: Processing block at
14 # CHECK: Record is CIE
15 # CHECK: Processing block at
16 # CHECK: Record is FDE
17 # CHECK: Adding edge at {{.*}} to CIE at: {{.*}}
18 # CHECK: Existing edge at {{.*}} to PC begin at {{.*}}
19 # CHECK: Adding keep-alive edge from target at {{.*}} to FDE at {{.*}}
20 # CHECK: Processing block at
21 # CHECK: Record is FDE
22 # CHECK: Adding edge at {{.*}} to CIE at: {{.*}}
23 # CHECK: Existing edge at {{.*}} to PC begin at {{.*}}
24 # CHECK: Adding keep-alive edge from target at {{.*}} to FDE at {{.*}}
33 .cfi_def_cfa_offset 32
34 stp x29
, x30
, [sp
, #16]
41 bl __cxa_allocate_exception
45 ldr x1
, [x1
, :got_lo12
:_ZTIi
]
49 .size main, .main_end-main
58 .cfi_def_cfa_offset 32
59 stp x29
, x30
, [sp
, #16]
66 bl __cxa_allocate_exception
70 ldr x1
, [x1
, :got_lo12
:_ZTIi
]
74 .size dup, .dup_end-dup