aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/GraphWriter.cpp
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2010-02-23 00:04:53 +0000
committerJeffrey Yasskin <jyasskin@google.com>2010-02-23 00:04:53 +0000
commite298d7cc58e8d16234c7ba16ac7ab15c2057d736 (patch)
treea4f783f8ce7001d583a0f910612ec96a7b05e751 /lib/Support/GraphWriter.cpp
parent3e22f2d489d6d1cff5123ae606cdea10d2c631f6 (diff)
downloadexternal_llvm-e298d7cc58e8d16234c7ba16ac7ab15c2057d736.zip
external_llvm-e298d7cc58e8d16234c7ba16ac7ab15c2057d736.tar.gz
external_llvm-e298d7cc58e8d16234c7ba16ac7ab15c2057d736.tar.bz2
Fix viewCFG on Linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96834 91177308-0d34-0410-b5e6-96231b3b80d8
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 c8bca6e..ec84f9b 100644
--- a/lib/Support/GraphWriter.cpp
+++ b/lib/Support/GraphWriter.cpp
@@ -137,7 +137,7 @@ void llvm::DisplayGraph(const sys::Path &Filename, bool wait,
args.clear();
args.push_back(gv.c_str());
args.push_back(PSFilename.c_str());
- args.push_back("-spartan");
+ args.push_back("--spartan");
args.push_back(0);
ErrMsg.clear();