[LLVMdev] DSG Visualization
Chris Lattner
sabre at nondot.org
Mon Feb 21 09:03:20 PST 2005
On Mon, 21 Feb 2005, xavier wrote:
> Hello,
>
> Is it possible to display the data structure graphs created by the Data Structure Analysis using a visualization tool?
yes. Just run one of these commands:
analyze -datastructure x.bc -- local DSGs
analyze -budatastructure x.bc -- BU DSGs
analyze -tddatastructure x.bc -- TD DSGs
These commands will output one "dot" file for each function in the program
and a globals graph. You can use the dot program (search for graphviz) to
render these in just about any format you want.
-Chris
--
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/
More information about the llvm-dev
mailing list