diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-24 03:23:12 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-24 03:23:12 +0000 |
commit | a53c35d8d0e0538049949fea4a8843e3634d0ba1 (patch) | |
tree | d1404915b163d1c5ada3757862dc918fad4adcdf /llvm/lib/Support/GraphWriter.cpp | |
parent | 13d62b60bd5291e9d54a807fc6a707749bd3254c (diff) | |
download | bcm5719-llvm-a53c35d8d0e0538049949fea4a8843e3634d0ba1.tar.gz bcm5719-llvm-a53c35d8d0e0538049949fea4a8843e3634d0ba1.zip |
Unbreak the build for HAVE_GV platforms.
llvm-svn: 79883
Diffstat (limited to 'llvm/lib/Support/GraphWriter.cpp')
-rw-r--r-- | llvm/lib/Support/GraphWriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/GraphWriter.cpp b/llvm/lib/Support/GraphWriter.cpp index 91a7bb3d341..c8bca6ef887 100644 --- a/llvm/lib/Support/GraphWriter.cpp +++ b/llvm/lib/Support/GraphWriter.cpp @@ -125,7 +125,7 @@ void llvm::DisplayGraph(const sys::Path &Filename, bool wait, 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 @@ void llvm::DisplayGraph(const sys::Path &Filename, bool wait, 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 |