summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objdump/MCFunction.cpp
Commit message (Collapse)AuthorAgeFilesLines
* llvm-objdump: Ignore unreachable blocks when printing the CFG.Benjamin Kramer2011-07-251-0/+2
| | | | llvm-svn: 136000
* llvm-objdump: Skip branches that leave the current function.Benjamin Kramer2011-07-221-1/+4
| | | | | | | In "normal" code these only happen when disassembling data, so we won't lose anything if we just drop them. llvm-svn: 135786
* Unbreak the MSVC build. Since the "next" function already exists in the MSVC ↵Francois Pichet2011-07-201-3/+3
| | | | | | headers, we need the explicit llvm:: qualifier to prevent a conflict. llvm-svn: 135623
* Sketch out an CFG reconstruction mode for llvm-objdump.Benjamin Kramer2011-07-201-0/+113
- 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. llvm-svn: 135608
OpenPOWER on IntegriCloud