1@ RUN: llvm-mc -n -triple thumbv7-apple-darwin10 %s -filetype=obj -o %t.obj 2@ RUN: llvm-readobj -s -sd < %t.obj > %t.dump 3@ RUN: FileCheck < %t.dump %s 4 5 .syntax unified 6 .text 7 .thumb 8 .thumb_func _foo 9_foo: 10 ldr r2, (_foo - 4) 11 12@ CHECK: RelocationCount: 0 13@ CHECK: Type: 0x0 14@ CHECK: Attributes [ (0x800004) 15@ CHECK: PureInstructions (0x800000) 16@ CHECK: SomeInstructions (0x4) 17@ CHECK: ] 18@ CHECK: Reserved1: 0x0 19@ CHECK: Reserved2: 0x0 20@ CHECK: SectionData ( 21@ CHECK: 0000: 5FF80820 |_.. | 22@ CHECK: ) 23