diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-07-20 19:37:35 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-07-20 19:37:35 +0000 |
commit | 87ee76ca730654607bbc0d9fb7ba6c18e24b810c (patch) | |
tree | fa75aa3216ba2c02b3b412f77518b3d365537975 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | ae60b6b0085283ab018403aefa689bda1eed8464 (diff) | |
download | bcm5719-llvm-87ee76ca730654607bbc0d9fb7ba6c18e24b810c.tar.gz bcm5719-llvm-87ee76ca730654607bbc0d9fb7ba6c18e24b810c.zip |
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.
llvm-svn: 135608
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions