projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8d26f6d2e2d719caf193d94b353d1dcdc6428395
[oota-llvm.git]
/
test
/
MC
/
MachO
/
ARM
/
relax-thumb-ldr-literal.s
1
@ RUN: llvm-mc -n -triple thumbv7-apple-darwin10 %s -filetype=obj -o %t.obj
2
@ RUN: macho-dump --dump-section-data < %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: ('num_reloc', 0)
13
@ CHECK: ('_section_data', '5ff80820')