[llvm-commits] [llvm] r79883 - /llvm/trunk/lib/Support/GraphWriter.cpp
Dan Gohman
gohman at apple.com
Sun Aug 23 20:23:14 PDT 2009
Author: djg
Date: Sun Aug 23 22:23:12 2009
New Revision: 79883
URL: http://llvm.org/viewvc/llvm-project?rev=79883&view=rev
Log:
Unbreak the build for HAVE_GV platforms.
Modified:
llvm/trunk/lib/Support/GraphWriter.cpp
Modified: llvm/trunk/lib/Support/GraphWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/GraphWriter.cpp?rev=79883&r1=79882&r2=79883&view=diff
==============================================================================
--- llvm/trunk/lib/Support/GraphWriter.cpp (original)
+++ llvm/trunk/lib/Support/GraphWriter.cpp Sun Aug 23 22:23:12 2009
@@ -125,7 +125,7 @@
args.push_back(PSFilename.c_str());
args.push_back(0);
- errs() << "Running '" << prog << "' program... ";
+ errs() << "Running '" << prog.str() << "' program... ";
if (sys::Program::ExecuteAndWait(prog, &args[0], 0, 0, 0, 0, &ErrMsg)) {
errs() << "Error viewing graph " << Filename.str() << ": '"
@@ -150,7 +150,7 @@
else {
sys::Program::ExecuteNoWait(gv, &args[0],0,0,0,&ErrMsg);
errs() << "Remember to erase graph files: " << Filename.str() << " "
- << PSFilename << "\n";
+ << PSFilename.str() << "\n";
}
}
#elif HAVE_DOTTY
More information about the llvm-commits
mailing list