2014-10-22 02:24:31 +08:00
|
|
|
// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -s -section-data | FileCheck %s
|
2011-11-02 07:39:05 +08:00
|
|
|
|
|
|
|
.file 1 "dir/foo"
|
|
|
|
nop
|
|
|
|
|
2014-10-22 02:24:31 +08:00
|
|
|
// CHECK: Section {
|
|
|
|
// CHECK: Index: 1
|
|
|
|
// CHECK-NEXT: Name: __debug_line
|
|
|
|
// CHECK-NEXT: Segment: __DWARF
|
|
|
|
// CHECK-NEXT: Address: 0x1
|
2014-10-22 02:31:09 +08:00
|
|
|
// CHECK-NEXT: Size: 0x28
|
2014-10-22 02:24:31 +08:00
|
|
|
// CHECK-NEXT: Offset: 221
|
|
|
|
// CHECK-NEXT: Alignment: 0
|
|
|
|
// CHECK-NEXT: RelocationOffset: 0x0
|
|
|
|
// CHECK-NEXT: RelocationCount: 0
|
|
|
|
// CHECK-NEXT: Type: 0x0
|
|
|
|
// CHECK-NEXT: Attributes [ (0x20000)
|
|
|
|
// CHECK-NEXT: Debug (0x20000)
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: Reserved1: 0x0
|
|
|
|
// CHECK-NEXT: Reserved2: 0x0
|
|
|
|
// CHECK-NEXT: SectionData (
|
2014-10-22 02:31:09 +08:00
|
|
|
// CHECK-NEXT: 0000: 24000000 02001E00 00000101 FB0E0D00
|
2014-10-22 02:24:31 +08:00
|
|
|
// CHECK-NEXT: 0010: 01010101 00000001 00000164 69720000
|
2014-10-22 02:31:09 +08:00
|
|
|
// CHECK-NEXT: 0020: 666F6F00 01000000
|
2014-10-22 02:24:31 +08:00
|
|
|
// CHECK-NEXT: )
|
|
|
|
// CHECK-NEXT: }
|