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 | 2d5e3acd2a69070c4e3550e014a54626e18bf12c (patch) | |
tree | d880ccb23940e074d88b937e9dbc14559d543834 /lib | |
parent | 9661c13c37d017df6f91a399c0160b82e8a6c39f (diff) | |
download | external_llvm-2d5e3acd2a69070c4e3550e014a54626e18bf12c.zip external_llvm-2d5e3acd2a69070c4e3550e014a54626e18bf12c.tar.gz external_llvm-2d5e3acd2a69070c4e3550e014a54626e18bf12c.tar.bz2 |
Unbreak the build for HAVE_GV platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79883 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Support/GraphWriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/GraphWriter.cpp b/lib/Support/GraphWriter.cpp index 91a7bb3..c8bca6e 100644 --- a/lib/Support/GraphWriter.cpp +++ b/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 |