Implement a new method "viewGraph" which can be used to instantly view a graph from GDB.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5529 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-02-10 18:17:38 +00:00
parent e79eaa9b49
commit c40c905d63
2 changed files with 18 additions and 0 deletions

View File

@ -118,8 +118,17 @@ public:
return Nodes.size();
}
/// 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

View File

@ -118,8 +118,17 @@ public:
return Nodes.size();
}
/// 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