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 | a65ee83ea96f367eff8d00b86c44b38d04819d1a (patch) | |
tree | bbb7af0e273e5705c1224c5edeec404102cccfd8 /lib | |
parent | aaf4c1e2ee0887e5e8cb9768186ff5e72e8a3e91 (diff) | |
download | external_llvm-a65ee83ea96f367eff8d00b86c44b38d04819d1a.zip external_llvm-a65ee83ea96f367eff8d00b86c44b38d04819d1a.tar.gz external_llvm-a65ee83ea96f367eff8d00b86c44b38d04819d1a.tar.bz2 |
Covert remaining graph viewers from sys::Path to std::string.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Support/GraphWriter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Support/GraphWriter.cpp b/lib/Support/GraphWriter.cpp index 23a2696..2d1a146 100644 --- a/lib/Support/GraphWriter.cpp +++ b/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()); |