summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-03-13 04:37:11 +0000
committerBill Wendling <isanbard@gmail.com>2009-03-13 04:37:11 +0000
commitb02eadf660f98b621d63fc60374d160aa4d53cec (patch)
tree81d0e89ab64492583fd1de6ca8eb5da6322c3117 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
parenta1d92423cf51577e554004f7ddfe9eff0fad2780 (diff)
downloadbcm5719-llvm-b02eadf660f98b621d63fc60374d160aa4d53cec.tar.gz
bcm5719-llvm-b02eadf660f98b621d63fc60374d160aa4d53cec.zip
Temporarily XFAIL this test.
llvm-svn: 66866
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
index 03923387625..9475ffa8591 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()));
- std::string FN;
- Op += ": " + CU.getFilename(FN);
+ const char *FN = CU.getFilename();
+ Op += ": " + std::string(FN ? FN : "");
Op += ":" + utostr(D->getLine());
if (D->getColumn() != 0)
Op += ":" + utostr(D->getColumn());
OpenPOWER on IntegriCloud