23 lines · plain
1@ RUN: llvm-mc -n -triple thumbv7-apple-darwin10 %s -filetype=obj -o %t.obj2@ RUN: llvm-readobj -S --sd - < %t.obj > %t.dump3@ RUN: FileCheck < %t.dump %s4 5 .syntax unified6 .text7 .thumb8 .thumb_func _foo9_foo:10 ldr r2, (_foo - 4)11 12@ CHECK: RelocationCount: 013@ CHECK: Type: Regular (0x0)14@ CHECK: Attributes [ (0x800004)15@ CHECK: PureInstructions (0x800000)16@ CHECK: SomeInstructions (0x4)17@ CHECK: ]18@ CHECK: Reserved1: 0x019@ CHECK: Reserved2: 0x020@ CHECK: SectionData (21@ CHECK: 0000: 5FF80820 |_.. |22@ CHECK: )23