aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/GraphWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-20 18:25:03 +0000
committerChris Lattner <sabre@nondot.org>2009-01-20 18:25:03 +0000
commit17844c7a880c70a6a6a8b8506a423ad125448153 (patch)
tree6a759990f1c17958396f78f18977713cfe48c419 /llvm/lib/Support/GraphWriter.cpp
parentca4881aecacd6015adbff8e71d825c0c71579c35 (diff)
downloadllvm-17844c7a880c70a6a6a8b8506a423ad125448153.zip
llvm-17844c7a880c70a6a6a8b8506a423ad125448153.tar.gz
llvm-17844c7a880c70a6a6a8b8506a423ad125448153.tar.bz2
improve compatibility with various versions of graphviz, patch by
Patrick Boettcher! llvm-svn: 62592
Diffstat (limited to 'llvm/lib/Support/GraphWriter.cpp')
-rw-r--r--llvm/lib/Support/GraphWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/GraphWriter.cpp b/llvm/lib/Support/GraphWriter.cpp
index aad1818..c359dfb 100644
--- a/llvm/lib/Support/GraphWriter.cpp
+++ b/llvm/lib/Support/GraphWriter.cpp
@@ -57,8 +57,8 @@ void llvm::DisplayGraph(const sys::Path &Filename) {
sys::Path gv(LLVM_PATH_GV);
args.clear();
args.push_back(gv.c_str());
- args.push_back("--spartan");
args.push_back(PSFilename.c_str());
+ args.push_back("-spartan");
args.push_back(0);
ErrMsg.clear();