summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitcc2e3d22df7b34d0b1b17ee9cbe451a0e0022fe0 (patch)
tree2a8a1a517375181024042fcf3097debee6b96696 /llvm/lib/Support/GraphWriter.cpp
parent60680ad31607a670c6bbbfd6b8bec4d5ea219669 (diff)
downloadbcm5719-llvm-cc2e3d22df7b34d0b1b17ee9cbe451a0e0022fe0.tar.gz
bcm5719-llvm-cc2e3d22df7b34d0b1b17ee9cbe451a0e0022fe0.zip
Fix viewCFG on Linux.
llvm-svn: 96834
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 c8bca6ef887..ec84f9beca0 100644
--- a/llvm/lib/Support/GraphWriter.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud