summaryrefslogtreecommitdiff
path: root/lib/Support/GraphWriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/GraphWriter.cpp')
-rw-r--r--lib/Support/GraphWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/GraphWriter.cpp b/lib/Support/GraphWriter.cpp
index aad1818372..c359dfb82e 100644
--- a/lib/Support/GraphWriter.cpp
+++ b/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();