This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Attachment: dump2dot
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]