summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitfb5bddfd0a3383c9c724212e21857daa9b319595 (patch)
tree52a74b09229bb5ee68a8fb58cb51c862bd1b3f9a /llvm/test/Object/ARM
parenteac54473dd4e3aa703ef166111be2b68f3586097 (diff)
downloadbcm5719-llvm-fb5bddfd0a3383c9c724212e21857daa9b319595.tar.gz
bcm5719-llvm-fb5bddfd0a3383c9c724212e21857daa9b319595.zip
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 llvm-svn: 183442
Diffstat (limited to 'llvm/test/Object/ARM')
-rw-r--r--llvm/test/Object/ARM/macho-data-in-code.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Object/ARM/macho-data-in-code.test b/llvm/test/Object/ARM/macho-data-in-code.test
new file mode 100644
index 00000000000..dca084c2cab
--- /dev/null
+++ b/llvm/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
+
OpenPOWER on IntegriCloud