From a53c35d8d0e0538049949fea4a8843e3634d0ba1 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 24 Aug 2009 03:23:12 +0000 Subject: Unbreak the build for HAVE_GV platforms. llvm-svn: 79883 --- llvm/lib/Support/GraphWriter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Support/GraphWriter.cpp') diff --git a/llvm/lib/Support/GraphWriter.cpp b/llvm/lib/Support/GraphWriter.cpp index 91a7bb3..c8bca6e 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 -- cgit v1.1