[ThinLTO] Add code comment. NFC
[llvm-complete.git] / test / MC / MachO / ARM / relax-thumb-ldr-literal.s
blob2ce65de7aab07514b9898bf4cabc583594bc4639
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
5 .syntax unified
6 .text
7 .thumb
8 .thumb_func _foo
9 _foo:
10 ldr r2, (_foo - 4)
12 @ CHECK: RelocationCount: 0
13 @ CHECK: Type: Regular (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: )