diff options
author | Tim Northover <tnorthover@apple.com> | 2016-07-14 23:13:03 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2016-07-14 23:13:03 +0000 |
commit | fbefee3bff6c9ce9c5d50bd2966638b6f6d7aaae (patch) | |
tree | bc8cc5a62fbbb429249c0c9af22861eceaf90f7c /llvm/test | |
parent | 420b266d0ab01f5bfe7e3aa24f758c924aa81ea5 (diff) | |
download | bcm5719-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')
-rwxr-xr-x | llvm/test/tools/llvm-objdump/ARM/Inputs/mh_dylib_header.macho-arm | bin | 0 -> 8336 bytes | |||
-rw-r--r-- | llvm/test/tools/llvm-objdump/ARM/mh_dylib_header.test | 7 |
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 Binary files differnew file mode 100755 index 00000000000..5e738294163 --- /dev/null +++ b/llvm/test/tools/llvm-objdump/ARM/Inputs/mh_dylib_header.macho-arm 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 |