1 // RUN
: llvm-mc
-triple i386-apple-darwin
%s
-filetype
=obj
-o
- | macho-dump | FileCheck
%s
3 // Check that we don
't produce a relocation for the CIE pointer and therefore
4 // we have only one relocation in __debug_frame.
6 .section __TEXT,__text,regular,pure_instructions
19 .cfi_sections .debug_frame
22 // CHECK: (('section_name
', '__debug_frame
\x00\x00\x00')
23 // CHECK-NEXT: ('segment_name
', '__DWARF
\x00\x00\x00\x00\x00\x00\x00\x00\x00')
24 // CHECK-NEXT: ('address
', 8)
25 // CHECK-NEXT: ('size
', 36)
26 // CHECK-NEXT: ('offset
', 332)
27 // CHECK-NEXT: ('alignment
', 2)
28 // CHECK-NEXT: ('reloc_offset
', 368)
29 // CHECK-NEXT: ('num_reloc
', 1)
30 // CHECK-NEXT: ('flags
', 0x2000000)
31 // CHECK-NEXT: ('reserved1
', 0)
32 // CHECK-NEXT: ('reserved2
', 0)
34 // CHECK-NEXT: ('_relocations
', [
35 // CHECK-NEXT: # Relocation 0
36 // CHECK-NEXT: (('word-
0', 0x1c),
37 // CHECK-NEXT: ('word-
1', 0x4000001)),