[LLVMdev] help interpreting DSGraph->dump

Chris Lattner sabre at nondot.org
Wed Oct 30 20:48:01 PST 2002

> > First off, make sure you are sending the graphs through the "dot"
> > utility. It turns them into a nice format that is much easier to
> > visualize than the text format... :)
> hmmm... how do I get to use the magical "dot" utility? It sounds
> pretty much like what I'm looking for, and I found it in
> lib/Analysis/DataStructure/Printer.cpp, but fails to see how to use
> it.  can you give me a snippet of code to send me in the right
> direction?

"dot" is part of the AT&T Graphviz package:

It supports lots of output formats.  I use the postscript output, like

dot -Tps < ds.foo.dot > ds.foo.ps



More information about the llvm-dev mailing list