diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-13 17:32:16 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-13 17:32:16 +0000 |
commit | 04fa5c17d86a1dfe9ae9d5234c75882eede6fa53 (patch) | |
tree | c715cf8f7a1a4083bbae03b384006c442a5b0d8a /llvm/lib/Support/GraphWriter.cpp | |
parent | 48944e7a9ac867e9b0bf3b57c70abc4846b92b0b (diff) | |
download | bcm5719-llvm-04fa5c17d86a1dfe9ae9d5234c75882eede6fa53.tar.gz bcm5719-llvm-04fa5c17d86a1dfe9ae9d5234c75882eede6fa53.zip |
Covert remaining graph viewers from sys::Path to std::string.
llvm-svn: 183921
Diffstat (limited to 'llvm/lib/Support/GraphWriter.cpp')
-rw-r--r-- | llvm/lib/Support/GraphWriter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Support/GraphWriter.cpp b/llvm/lib/Support/GraphWriter.cpp index 23a2696a79d..2d1a146fe74 100644 --- a/llvm/lib/Support/GraphWriter.cpp +++ b/llvm/lib/Support/GraphWriter.cpp @@ -106,7 +106,7 @@ void llvm::DisplayGraph(StringRef FilenameRef, bool wait, wait &= !ViewBackground; std::string ErrMsg; #if HAVE_GRAPHVIZ - sys::Path Graphviz(LLVM_PATH_GRAPHVIZ); + std::string Graphviz(LLVM_PATH_GRAPHVIZ); std::vector<const char*> args; args.push_back(Graphviz.c_str()); @@ -133,7 +133,7 @@ void llvm::DisplayGraph(StringRef FilenameRef, bool wait, args.push_back(0); errs() << "Running 'xdot.py' program... "; - if (!ExecGraphViewer(sys::Path(LLVM_PATH_XDOT_PY), args, Filename, wait, ErrMsg)) + if (!ExecGraphViewer(LLVM_PATH_XDOT_PY, args, Filename, wait, ErrMsg)) return; #elif (HAVE_GV && (HAVE_DOT || HAVE_FDP || HAVE_NEATO || \ @@ -209,7 +209,7 @@ void llvm::DisplayGraph(StringRef FilenameRef, bool wait, return; #elif HAVE_DOTTY - sys::Path dotty(LLVM_PATH_DOTTY); + std::string dotty(LLVM_PATH_DOTTY); std::vector<const char*> args; args.push_back(dotty.c_str()); |