aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2012-11-10 04:30:40 +0000
committerEvan Cheng <evan.cheng@apple.com>2012-11-10 04:30:40 +0000
commit785500618afc50f5914f798ea224cf8405dce29d (patch)
tree63a9c10ae5da4523b06aa5efdcffb46bc46e50f2 /test/MC/ARM
parente29c88064fb11d630d00356ad8d340b9dca9ef77 (diff)
downloadexternal_llvm-785500618afc50f5914f798ea224cf8405dce29d.zip
external_llvm-785500618afc50f5914f798ea224cf8405dce29d.tar.gz
external_llvm-785500618afc50f5914f798ea224cf8405dce29d.tar.bz2
Convert an improper CodeGen test to a MC test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167663 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ARM')
-rw-r--r--test/MC/ARM/elf-jump24-fixup.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/MC/ARM/elf-jump24-fixup.s b/test/MC/ARM/elf-jump24-fixup.s
new file mode 100644
index 0000000..75a4b86
--- /dev/null
+++ b/test/MC/ARM/elf-jump24-fixup.s
@@ -0,0 +1,9 @@
+@ RUN: llvm-mc %s -triple=thumbv7-linux-gnueabi -filetype=obj -o - < %s | llvm-objdump -r - | FileCheck %s
+ .syntax unified
+ .text
+ .code 16
+ .thumb_func
+foo:
+ b.w bar
+
+@ CHECK: {{[0-9]+}} R_ARM_THM_JUMP24 bar