From: Chris Lattner Date: Tue, 20 Jan 2009 18:25:03 +0000 (+0000) Subject: improve compatibility with various versions of graphviz, patch by X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ccb3ab46f62504a84b3fda435e282821dea55438;p=oota-llvm.git 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 --- diff --git a/lib/Support/GraphWriter.cpp b/lib/Support/GraphWriter.cpp index aad1818372a..c359dfb82ea 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();