Fix viewCFG on Linux.
authorJeffrey Yasskin <jyasskin@google.com>
Tue, 23 Feb 2010 00:04:53 +0000 (00:04 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Tue, 23 Feb 2010 00:04:53 +0000 (00:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96834 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/GraphWriter.cpp

index c8bca6ef887cc892d24488299c136cdcbde9655f..ec84f9beca06a1d0a7f12d528371f5db31231725 100644 (file)
@@ -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();