[LLVMbugs] [Bug 920] llvm-db should expose that trick where we view the CFG

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Sep 20 21:22:38 PDT 2006


http://llvm.org/bugs/show_bug.cgi?id=920

sabre at nondot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From sabre at nondot.org  2006-09-20 23:22 -------
llvm-db is supposed to be a debugger, but is sorta of neutered right now.

What you want is "opt -analyze -print-cfg foo.bc" and "opt -analyze -print-cfg-only foo.bc".

This will print out a dot file which is viewable with standard techniques.

-Chris



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list