From ccb3ab46f62504a84b3fda435e282821dea55438 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 20 Jan 2009 18:25:03 +0000 Subject: improve compatibility with various versions of graphviz, patch by Patrick Boettcher! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62592 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/GraphWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Support/GraphWriter.cpp') 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(); -- cgit v1.2.3