[llvm-commits] CVS: llvm/include/llvm/Analysis/DSGraph.h
lattner at cs.uiuc.edu
Mon Feb 10 12:19:01 PST 2003
Changes in directory llvm/include/llvm/Analysis:
DSGraph.h updated: 1.45 -> 1.46
Implement a new method "viewGraph" which can be used to instantly view a graph from GDB.
Diffs of the changes:
diff -u llvm/include/llvm/Analysis/DSGraph.h:1.45 llvm/include/llvm/Analysis/DSGraph.h:1.46
--- llvm/include/llvm/Analysis/DSGraph.h:1.45 Sun Feb 9 12:40:25 2003
+++ llvm/include/llvm/Analysis/DSGraph.h Mon Feb 10 12:17:38 2003
@@ -118,8 +118,17 @@
+ /// print - Print a dot graph to the specified ostream...
void print(std::ostream &O) const;
+ /// dump - call print(std::cerr), for use from the debugger...
void dump() const;
+ /// viewGraph - Emit a dot graph, run 'dot', run gv on the postscript file,
+ /// then cleanup. For use from the debugger.
+ void viewGraph() const;
void writeGraphToFile(std::ostream &O, const std::string &GraphName) const;
/// maskNodeTypes - Apply a mask to all of the node types in the graph. This
More information about the llvm-commits