summaryrefslogtreecommitdiff
path: root/test/Object/ARM
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2013-06-06 20:28:28 +0000
committerKevin Enderby <enderby@apple.com>2013-06-06 20:28:28 +0000
commit285bd8e6f9c65bed2b86169e2561fc8b0756adee (patch)
tree6ea9d74d5050c4a8d8db04f31900823b6fb1d52d /test/Object/ARM
parent5be946b4866989cddf16fd3d1977da3c77351098 (diff)
downloadllvm-285bd8e6f9c65bed2b86169e2561fc8b0756adee.tar.gz
llvm-285bd8e6f9c65bed2b86169e2561fc8b0756adee.tar.bz2
llvm-285bd8e6f9c65bed2b86169e2561fc8b0756adee.tar.xz
Move the test for the data in code into the ARM directory as it is an ARM
binary that is used for the test. Caught by Jim Grosbach! rdar://11791371 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183442 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Object/ARM')
-rw-r--r--test/Object/ARM/macho-data-in-code.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Object/ARM/macho-data-in-code.test b/test/Object/ARM/macho-data-in-code.test
new file mode 100644
index 0000000000..dca084c2ca
--- /dev/null
+++ b/test/Object/ARM/macho-data-in-code.test
@@ -0,0 +1,7 @@
+RUN: llvm-objdump -triple thumbv7-apple-iOS -disassemble %p/../Inputs/macho-data-in-code.macho-thumbv7 -macho | FileCheck %s
+
+CHECK: 12: 80 bd pop {r7, pc}
+
+CHECK: 14: 38 00 00 00 .long 56 @ KIND_DATA
+CHECK: 16: 00 00 movs r0, r0
+