mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
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:
@ -118,8 +118,17 @@ public:
|
|||||||
return Nodes.size();
|
return Nodes.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// print - Print a dot graph to the specified ostream...
|
||||||
void print(std::ostream &O) const;
|
void print(std::ostream &O) const;
|
||||||
|
|
||||||
|
/// dump - call print(std::cerr), for use from the debugger...
|
||||||
|
///
|
||||||
void dump() const;
|
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;
|
void writeGraphToFile(std::ostream &O, const std::string &GraphName) const;
|
||||||
|
|
||||||
/// maskNodeTypes - Apply a mask to all of the node types in the graph. This
|
/// maskNodeTypes - Apply a mask to all of the node types in the graph. This
|
||||||
|
@ -118,8 +118,17 @@ public:
|
|||||||
return Nodes.size();
|
return Nodes.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// print - Print a dot graph to the specified ostream...
|
||||||
void print(std::ostream &O) const;
|
void print(std::ostream &O) const;
|
||||||
|
|
||||||
|
/// dump - call print(std::cerr), for use from the debugger...
|
||||||
|
///
|
||||||
void dump() const;
|
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;
|
void writeGraphToFile(std::ostream &O, const std::string &GraphName) const;
|
||||||
|
|
||||||
/// maskNodeTypes - Apply a mask to all of the node types in the graph. This
|
/// maskNodeTypes - Apply a mask to all of the node types in the graph. This
|
||||||
|
Reference in New Issue
Block a user