summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objdump/ARM
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2016-07-14 23:13:03 +0000
committerTim Northover <tnorthover@apple.com>2016-07-14 23:13:03 +0000
commitfbefee3bff6c9ce9c5d50bd2966638b6f6d7aaae (patch)
treebc8cc5a62fbbb429249c0c9af22861eceaf90f7c /llvm/test/tools/llvm-objdump/ARM
parent420b266d0ab01f5bfe7e3aa24f758c924aa81ea5 (diff)
downloadbcm5719-llvm-fbefee3bff6c9ce9c5d50bd2966638b6f6d7aaae.tar.gz
bcm5719-llvm-fbefee3bff6c9ce9c5d50bd2966638b6f6d7aaae.zip
llvm-objdump: extend __mh_execute_header handling to other special syms
We don't need to print any of the special __mh_*_header symbols when disassembling. Since they point at the beginning of the segment (not where the actual code is) they're pretty misleading. Should also fix lld bots. llvm-svn: 275498
Diffstat (limited to 'llvm/test/tools/llvm-objdump/ARM')
-rwxr-xr-xllvm/test/tools/llvm-objdump/ARM/Inputs/mh_dylib_header.macho-armbin0 -> 8336 bytes
-rw-r--r--llvm/test/tools/llvm-objdump/ARM/mh_dylib_header.test7
2 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/ARM/Inputs/mh_dylib_header.macho-arm b/llvm/test/tools/llvm-objdump/ARM/Inputs/mh_dylib_header.macho-arm
new file mode 100755
index 00000000000..5e738294163
--- /dev/null
+++ b/llvm/test/tools/llvm-objdump/ARM/Inputs/mh_dylib_header.macho-arm
Binary files differ
diff --git a/llvm/test/tools/llvm-objdump/ARM/mh_dylib_header.test b/llvm/test/tools/llvm-objdump/ARM/mh_dylib_header.test
new file mode 100644
index 00000000000..474080392c8
--- /dev/null
+++ b/llvm/test/tools/llvm-objdump/ARM/mh_dylib_header.test
@@ -0,0 +1,7 @@
+RUN: llvm-objdump -d -macho %p/Inputs/mh_dylib_header.macho-arm
+
+CHECK: _t1:
+CHECK: movw r0, #4133
+
+CHECK: _a1:
+CHECK: bx lr
OpenPOWER on IntegriCloud