From 8ab719c566d8958e732c31053087026d86d7f422 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 20 Jan 2009 18:25:03 +0000 Subject: [PATCH] improve compatibility with various versions of graphviz, patch by Patrick Boettcher! llvm-svn: 62592 --- lib/Support/GraphWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();