Add a MachO-specific "mode" to llvm-objdump, that, if enabled, gathers additional...
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 19 Sep 2011 17:56:04 +0000 (17:56 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 19 Sep 2011 17:56:04 +0000 (17:56 +0000)
commit0b8b771e9f2f251460a6f200c45efe9d55640d60
tree1dd175cf9df13a7ecc88fc7d4a1aa6294b97e17e
parenta182be9b6cab86b3d52371efea1681161820cf1c
Add a MachO-specific "mode" to llvm-objdump, that, if enabled, gathers additional information that are only available on MachO.

- It can take FunctionStarts from a binary to find entry points more accurately.
- Symbol offsets in executables are correct now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140028 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-objdump/CMakeLists.txt
tools/llvm-objdump/MCFunction.cpp
tools/llvm-objdump/MCFunction.h
tools/llvm-objdump/MachODump.cpp [new file with mode: 0644]
tools/llvm-objdump/llvm-objdump.cpp
tools/llvm-objdump/llvm-objdump.h [new file with mode: 0644]