Home | History | Annotate | Download | only in MachO
      1 // RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | macho-dump --dump-section-data | FileCheck %s
      2 
      3         .file	1 "foo"
      4 	.loc	1 64 0
      5         nop
      6 
      7 // CHECK:         # Section 1
      8 // CHECK-NEXT:   (('section_name', '__debug_line\x00\x00\x00\x00')
      9 // CHECK-NEXT:    ('segment_name', '__DWARF\x00\x00\x00\x00\x00\x00\x00\x00\x00')
     10 // CHECK-NEXT:    ('address', 1)
     11 // CHECK-NEXT:    ('size', 51)
     12 // CHECK-NEXT:    ('offset', 221)
     13 // CHECK-NEXT:    ('alignment', 0)
     14 // CHECK-NEXT:    ('reloc_offset', 272)
     15 // CHECK-NEXT:    ('num_reloc', 1)
     16 // CHECK-NEXT:    ('flags', 0x2000000)
     17 // CHECK-NEXT:    ('reserved1', 0)
     18 // CHECK-NEXT:    ('reserved2', 0)
     19 // CHECK-NEXT:   ),
     20 // CHECK-NEXT:  ('_relocations', [
     21 // CHECK-NEXT:    # Relocation 0
     22 // CHECK-NEXT:    (('word-0', 0x27),
     23 // CHECK-NEXT:     ('word-1', 0x4000001)),
     24 // CHECK-NEXT:  ])
     25 // CHECK-NEXT:  ('_section_data', '2f000000 02001a00 00000101 fb0e0d00 01010101 00000001 00000100 666f6f00 00000000 00050200 00000003 3f010201 000101')
     26