History log of /external/llvm/tools/llvm-objdump/MachODump.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f59083cc029b1f09dec7cc62de070846b2c55bb8 19-Jul-2012 Bill Wendling <isanbard@gmail.com> Remove tabs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160480 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
c698a44dd27cdcf2da301e7d15c5b3703eb5d90d 02-Jul-2012 Evan Cheng <evan.cheng@apple.com> Need a space.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159565 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
59c15e920c9873804f3150d0c13357696f09e300 18-May-2012 Kevin Enderby <enderby@apple.com> Fixed a bug in llvm-objdump when disassembling using -macho option for a binary
containing no symbols. Fixed the crash and fixed it not disassembling anything.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157031 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
41854aea66ade4dea16a80bc8ef7ddf6c379d21f 15-May-2012 Kevin Enderby <enderby@apple.com> Fixed a bug in llvm-objdump when disassembling using -macho option for a binary
that has more than one symbol. The last symbol was not being disassembled to
the end of the section.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156840 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
17463b3ef1a3d39b10619254f12e806c8c43f9e7 02-Apr-2012 Craig Topper <craig.topper@gmail.com> Make MCInstrInfo available to the MCInstPrinter. This will be used to remove getInstructionName and the static data it contains since the same tables are already in MCInstrInfo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153860 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
c6449b636f4984be88f128d0375c056ad05e7e8f 05-Mar-2012 Jim Grosbach <grosbach@apple.com> Make MCRegisterInfo available to the the MCInstPrinter.

Used to allow context sensitive printing of super-register or sub-register
references.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152043 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
a99350511cceb8a723800957bae500078f054062 03-Feb-2012 Cameron Zwarich <zwarich@apple.com> Allow command-line overrides of the target triple with the Mach-O
disassembler, just like the generic disassembler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149681 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
ec8eac6d8b70234b2dfee623190d609e17206bca 03-Feb-2012 Cameron Zwarich <zwarich@apple.com> Do the same fix as r149667, but for the Mach-O disassembler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149674 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
b0436a73054fe676b216a0cf872d1fc433125c62 29-Nov-2011 Danil Malyshev <dmalyshev@accesssoftek.com> Fixed ObjectFile functions:
- getSymbolOffset() renamed as getSymbolFileOffset()
- getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObjectFile and COFFObjectFile.
- added getRelocationOffset()
- fixed MachOObjectFile::getSymbolSize()
- fixed MachOObjectFile::getSymbolSection()
- fixed MachOObjectFile::getSymbolOffset() for symbols without section data.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145408 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
790552c20fbd8daa77d343419f0f6ec4e7fa1457 27-Nov-2011 Chandler Carruth <chandlerc@gmail.com> Revert r145180 as it is causing test failures on all the bots.

Original commit message:
Fixed ObjectFile functions:
- getSymbolOffset() renamed as getSymbolFileOffset()
- getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObjectFile and COFFObjectFile.
- added getRelocationOffset()
- fixed MachOObjectFile::getSymbolSize()
- fixed MachOObjectFile::getSymbolSection()
- fixed MachOObjectFile::getSymbolOffset() for symbols without section data.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145182 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
9b24738bd1dc791eb2c21b5562fcfe4b7b99fe2a 27-Nov-2011 Danil Malyshev <dmalyshev@accesssoftek.com> Fixed ObjectFile functions:
- getSymbolOffset() renamed as getSymbolFileOffset()
- getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObjectFile and COFFObjectFile.
- added getRelocationOffset()
- fixed MachOObjectFile::getSymbolSize()
- fixed MachOObjectFile::getSymbolSection()
- fixed MachOObjectFile::getSymbolOffset() for symbols without section data.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145180 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
7d3f8b8e48854b890762ccb96f7817568541732b 07-Nov-2011 Owen Anderson <resistor@mac.com> Fix llvm-objdump's MachO mode to not depend on the value returned by RelocationRef::getInfo().


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143966 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
41a964931a0e0943ceef28b0c691843bf8ca87b7 05-Nov-2011 Benjamin Kramer <benny.kra@googlemail.com> Add more PRI.64 macros for MSVC and use them throughout the codebase.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143799 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
9472b8d220fc746498429f430cb4c4dbfbd38f2a 26-Oct-2011 Owen Anderson <resistor@mac.com> Expand relocation type field to 64 bits. MachO scattered relocations require 33 bits of type info.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143032 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
481837a743be2bd4723d96f304abba93140dc206 17-Oct-2011 Owen Anderson <resistor@mac.com> Rewrite most of MachODump to work through the generic libObject interfaces rather than accessing the MachO internals directly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142263 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
d226ed71f24f2db200e3751e05b82c7700514116 10-Oct-2011 Benjamin Kramer <benny.kra@googlemail.com> llvm-objdump: Take ownership of MCInstrInfos.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141535 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
3773fb46ba530f69530d1c4bafb7885528a27391 07-Oct-2011 Michael J. Spencer <bigcheesegs@gmail.com> Fix spelling in comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141386 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
a48ad1333999e2fb483d23096349138af5a51ec6 07-Oct-2011 Bill Wendling <isanbard@gmail.com> Revert 141376 and 141377 due to breaking the build.

--- Reverse-merging r141377 into '.':
U tools/llvm-objdump/MachODump.cpp
--- Reverse-merging r141376 into '.':
U include/llvm/Object/COFF.h
U include/llvm/Object/ObjectFile.h
U include/llvm-c/Object.h
U tools/llvm-objdump/llvm-objdump.cpp
U lib/Object/MachOObjectFile.cpp
U lib/Object/COFFObjectFile.cpp
U lib/Object/Object.cpp
U lib/Object/ELFObjectFile.cpp



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
67370ef9030990baceb42181f2db57b7b8d33ca9 07-Oct-2011 Michael J. Spencer <bigcheesegs@gmail.com> Fix spelling in comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141377 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
afbaf48fc4a645a95737ea81e2e0fde47a6150ba 22-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> llvm-objdump: Detach symbol listing from section enumeration for mach-o.

This reduces memory usage as we don't add the same symbol multiple times anymore.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140278 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
91c603bcfe810c14ddcf7bf340dacbf10c7b5255 21-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> llvm-objdump: Take the data from the right object when there's no dSYM around.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140269 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
b5b8d20ddd287992ee286bf5f4d059fd527823ad 21-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> llvm-objdump: Fix use after free.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140237 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
8c93097c4c5e6dddc8c239295a1b42217b082ad3 21-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> llvm-objdump: Output line info next to the disassembly if available.

MachO-only at the moment, sorry.

Usage:
$ llvm-objdump -d -m -g -dsym=a.out.dSYM/Contents/Resources/DWARF/a.out a.out
_main:
100000e90: 55 pushq %rbp ## test.c:11:3


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140224 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
a894c8e34453493a9d3fb2ffbbc21151c3965b63 20-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> llvm-objdump: factor code better, add comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140153 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
bcc1a737f5e7ff896e79c9a4a6177cc243618eff 19-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> Nope, there's another one!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140045 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
49ca96d7c2b7ce10e42feb05cb0d9c7457518537 19-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> Missed one instance of implicit pointer conversion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140044 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
4d906381307334cfed187226c548129c3421d0c4 19-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> Try to make MSVC 2010 happy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140042 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MachODump.cpp
0b8b771e9f2f251460a6f200c45efe9d55640d60 19-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> 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
/external/llvm/tools/llvm-objdump/MachODump.cpp