History log of /external/llvm/tools/llvm-objdump/MCFunction.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/MCFunction.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/MCFunction.cpp
98c5ddabca1debf935a07d14d0cbc9732374bdb8 16-Sep-2011 Owen Anderson <resistor@mac.com> Don't attach annotations to MCInst's. Instead, have the disassembler return, and the printer accept, an annotation string which can be passed through if the client cares about annotations.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139876 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MCFunction.cpp
41ab14b725c8f2bb3e54553d0d7d96ff184786b1 08-Aug-2011 Benjamin Kramer <benny.kra@googlemail.com> Add MCInstrAnalysis class. This allows the targets to specify own versions of MCInstrDescs functions.

- Add overrides for ARM.
- Teach llvm-objdump to use this instead of plain MCInstrDesc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137059 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MCFunction.cpp
853b0fd623491ef7dafeed20ee15897e3b95d82c 26-Jul-2011 Benjamin Kramer <benny.kra@googlemail.com> llvm-objdump: Ignore unreachable blocks when printing the CFG.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136000 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MCFunction.cpp
83a162ef8591d26b6105114e83061c600eb89749 22-Jul-2011 Benjamin Kramer <benny.kra@googlemail.com> llvm-objdump: Skip branches that leave the current function.

In "normal" code these only happen when disassembling data, so we
won't lose anything if we just drop them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MCFunction.cpp
c3d48cee49257ea1666986d98c5d268262ad1e9b 20-Jul-2011 Francois Pichet <pichet2000@gmail.com> Unbreak the MSVC build. Since the "next" function already exists in the MSVC headers, we need the explicit llvm:: qualifier to prevent a conflict.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135623 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MCFunction.cpp
685a2501b20baf688f6cc087f4b92bbafcd8028e 20-Jul-2011 Benjamin Kramer <benny.kra@googlemail.com> Sketch out an CFG reconstruction mode for llvm-objdump.

- Not great yet, but it's a start.
- Requires an object file with a symbol table. (I really want to fix this, but it'll need a whole new algorithm)
- ELF and COFF won't work at the moment due to libObject shortcomings.

To try it out run
$ llvm-objdump -d --cfg foo.o

This will create a graphviz file for every symbol in the object file's text section containing a CFG.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135608 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-objdump/MCFunction.cpp