diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-03-13 04:39:26 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-03-13 04:39:26 +0000 |
commit | fa54bc2052d4f1aa3fdb57a5238e73d4a62826a3 (patch) | |
tree | 046ffd9fa3dd9abd1e78a7ec28e4f64031eb44b2 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | |
parent | b02eadf660f98b621d63fc60374d160aa4d53cec (diff) | |
download | bcm5719-llvm-fa54bc2052d4f1aa3fdb57a5238e73d4a62826a3.tar.gz bcm5719-llvm-fa54bc2052d4f1aa3fdb57a5238e73d4a62826a3.zip |
Oops...I committed too much.
llvm-svn: 66867
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index 9475ffa8591..03923387625 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp @@ -179,8 +179,8 @@ std::string DOTGraphTraits<SelectionDAG*>::getNodeLabel(const SDNode *Node, } } else if (const DbgStopPointSDNode *D = dyn_cast<DbgStopPointSDNode>(Node)) { DICompileUnit CU(cast<GlobalVariable>(D->getCompileUnit())); - const char *FN = CU.getFilename(); - Op += ": " + std::string(FN ? FN : ""); + std::string FN; + Op += ": " + CU.getFilename(FN); Op += ":" + utostr(D->getLine()); if (D->getColumn() != 0) Op += ":" + utostr(D->getColumn()); |