mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
Move SelectionDAG::viewGraph() out of line; as an inline function
it isn't always visible to gdb. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54228 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
90d33ee746
commit
0b12aef490
@ -117,7 +117,7 @@ public:
|
||||
/// viewGraph - Pop up a GraphViz/gv window with the DAG rendered using 'dot'.
|
||||
///
|
||||
void viewGraph(const std::string &Title);
|
||||
void viewGraph() { return viewGraph(""); }
|
||||
void viewGraph();
|
||||
|
||||
#ifndef NDEBUG
|
||||
std::map<const SDNode *, std::string> NodeGraphAttrs;
|
||||
|
@ -252,6 +252,11 @@ void SelectionDAG::viewGraph(const std::string &Title) {
|
||||
#endif // NDEBUG
|
||||
}
|
||||
|
||||
// This overload is defined out-of-line here instead of just using a
|
||||
// default parameter because this is easiest for gdb to call.
|
||||
void SelectionDAG::viewGraph() {
|
||||
viewGraph("");
|
||||
}
|
||||
|
||||
/// clearGraphAttrs - Clear all previously defined node graph attributes.
|
||||
/// Intended to be used from a debugging tool (eg. gdb).
|
||||
|
Loading…
x
Reference in New Issue
Block a user