Silence -Wunused-variable in release builds.
[llvm/stm8.git] / test / MC / MachO / loc.s
blob6e7faa3bf9aad30f460f853af63a220c0baed6a4
1 // RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | macho-dump --dump-section-data | FileCheck %s
3 .file 1 "foo"
4 .loc 1 64 0
5 nop
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')