diff options
| author | Dan Gohman <gohman@apple.com> | 2008-07-30 18:48:53 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-07-30 18:48:53 +0000 |
| commit | 88e0df0c9128a09c001c06f984a35ce0048ad526 (patch) | |
| tree | f8abb92087b93076c6b35a7009dcde41c4bc283b /llvm/lib/CodeGen | |
| parent | 2fe4352691bf4b80517ee36730cfddfb719d79fc (diff) | |
| download | bcm5719-llvm-88e0df0c9128a09c001c06f984a35ce0048ad526.tar.gz bcm5719-llvm-88e0df0c9128a09c001c06f984a35ce0048ad526.zip | |
Move SelectionDAG::viewGraph() out of line; as an inline function
it isn't always visible to gdb.
llvm-svn: 54228
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index 19a3e49055e..ea86c0d591c 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp @@ -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). |

