blob: b3f1c2a875e74de6aeed2eea80b300bb9c120ee5 [file] [log] [blame]
// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -r -s -sd | FileCheck %s
.file 2 "foo"
.file 1 "bar"
.loc 2 64 0
nop
// CHECK: Section {
// CHECK: Index: 1
// CHECK: Name: __debug_line (5F 5F 64 65 62 75 67 5F 6C 69 6E 65 00 00 00 00)
// CHECK: Segment: __DWARF (5F 5F 44 57 41 52 46 00 00 00 00 00 00 00 00 00)
// CHECK: Address: 0x1
// CHECK: Size: 0x3C
// CHECK: Offset: 237
// CHECK: Alignment: 0
// CHECK: RelocationOffset: 0x12C
// CHECK: RelocationCount: 1
// CHECK: Type: 0x0
// CHECK: Attributes [ (0x20000)
// CHECK: Debug (0x20000)
// CHECK: ]
// CHECK: Reserved1: 0x0
// CHECK: Reserved2: 0x0
// CHECK: SectionData (
// CHECK: 0000: 38000000 02002100 00000101 FB0E0D00 |8.....!.........|
// CHECK: 0010: 01010101 00000001 00000100 62617200 |............bar.|
// CHECK: 0020: 00000066 6F6F0000 00000004 02000502 |...foo..........|
// CHECK: 0030: 00000000 033F0102 01000101 |.....?......|
// CHECK: )
// CHECK: }
// CHECK: ]
// CHECK: Relocations [
// CHECK: Section __debug_line {
// CHECK: 0x30 0 2 0 GENERIC_RELOC_VANILLA 0 __text
// CHECK: }
// CHECK: ]