2 # RUN: llvm-mc -triple=arm64-apple-darwin11 -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 __TEXT,__eh_frame...
9 # CHECK: Processing block at
10 # CHECK: Processing CFI record at
11 # CHECK: Processing CFI record at
12 # CHECK: EHFrameEdgeFixer: Processing __TEXT,__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: Existing edge at {{.*}} to LSDA at {{.*}}
22 .section __TEXT,__text,regular,pure_instructions
28 .cfi_personality 155, ___gxx_personality_v0
29 .cfi_lsda 16, Lexception0
31 stp x20
, x19
, [sp
, #-32]!
32 stp x29
, x30
, [sp
, #16]
33 .cfi_def_cfa_offset 32
39 bl ___cxa_allocate_exception
44 adrp x1
, __ZTIi@GOTPAGE
46 ldr x1
, [x1
, __ZTIi@GOTPAGEOFF
]
58 ldp x29
, x30
, [sp
, #16]
59 ldp x20
, x19
, [sp
], #32
61 .loh AdrpLdrGot Lloh0, Lloh1
64 .section __TEXT,__gcc_except_tab
70 .uleb128 Lttbase0-Lttbaseref0
73 .uleb128 Lcst_end0-Lcst_begin0
75 .uleb128 Lfunc_begin0-Lfunc_begin0
76 .uleb128 Ltmp0-Lfunc_begin0
79 .uleb128 Ltmp0-Lfunc_begin0
81 .uleb128 Ltmp2-Lfunc_begin0
83 .uleb128 Ltmp1-Lfunc_begin0
84 .uleb128 Lfunc_end0-Ltmp1
94 .long __ZTIi@GOT-Ltmp3
98 .subsections_via_symbols