summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2015-01-09 06:57:18 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2015-01-09 06:57:18 +0000
commit3e81ecfeb63f42caf4838f931bcee0d213d12040 (patch)
treeef9517adda746629161655cb1645f93187cb8fd8 /llvm/test
parent8c6db7056adf0779d708c1b4b8e7e01d7b3ccd92 (diff)
downloadbcm5719-llvm-3e81ecfeb63f42caf4838f931bcee0d213d12040.tar.gz
bcm5719-llvm-3e81ecfeb63f42caf4838f931bcee0d213d12040.zip
test: add additional test for SVN r225507
Add an additional test case to ensure that we generate the relocation even if the thumb target is used. llvm-svn: 225509
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/ARM/reloc-abs8.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/reloc-abs8.s b/llvm/test/MC/ARM/reloc-abs8.s
index 716f0ff21df..f1d7afad1ae 100644
--- a/llvm/test/MC/ARM/reloc-abs8.s
+++ b/llvm/test/MC/ARM/reloc-abs8.s
@@ -1,5 +1,7 @@
@ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s | llvm-objdump -r - \
@ RUN: | FileCheck %s
+@ RUN: llvm-mc -triple thumbv7-eabi -filetype obj -o - %s | llvm-objdump -r - \
+@ RUN: | FileCheck %s
.syntax unified
OpenPOWER on IntegriCloud