howto graphically view .cfg file produced by -fdump-tree-cfg

Diego Novillo dnovillo@google.com
Sat Nov 14 19:30:00 GMT 2009


On Sun, Nov 8, 2009 at 19:10, Larry Evans <cppljevans@suddenlink.net> wrote:

> Does someone know of a way to view this in a graphical way,
> somewhat like what xvcg does for its cfg's?

When I've needed to visualize a CFG, I just used a very simplistic
script to paw through the dump file to produce graphviz output
(attached).  It probably needs tweaking as it's been a long time since
I last used it.


Diego.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump2dot
Type: application/octet-stream
Size: 1125 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20091114/ce19ad5d/attachment.obj>


More information about the Gcc mailing list