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 | 685a2501b20baf688f6cc087f4b92bbafcd8028e (patch) | |
tree | 3f0fca76506239b383567c664fbc53c820cebabd /build-for-llvm-top.sh | |
parent | a4d0bd84f7bdc78784e44b623ded448988022e4b (diff) | |
download | external_llvm-685a2501b20baf688f6cc087f4b92bbafcd8028e.zip external_llvm-685a2501b20baf688f6cc087f4b92bbafcd8028e.tar.gz external_llvm-685a2501b20baf688f6cc087f4b92bbafcd8028e.tar.bz2 |
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
Diffstat (limited to 'build-for-llvm-top.sh')
0 files changed, 0 insertions, 0 deletions