]> granicus.if.org Git - llvm/commit
llvm-objdump: extend __mh_execute_header handling to other special syms
authorTim Northover <tnorthover@apple.com>
Thu, 14 Jul 2016 23:13:03 +0000 (23:13 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 14 Jul 2016 23:13:03 +0000 (23:13 +0000)
commit520a6ed0f140b8f6934dd9b1ca34436a27d3b5f8
tree3b0fbc5755452ad5844e3574f2b62bda94c3d73e
parentdb8566250fe93a55d9471ad160c8d7c4335f4749
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275498 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objdump/ARM/Inputs/mh_dylib_header.macho-arm [new file with mode: 0755]
test/tools/llvm-objdump/ARM/mh_dylib_header.test [new file with mode: 0644]
tools/llvm-objdump/MachODump.cpp