[llvm-commits] [llvm] r62592 - /llvm/trunk/lib/Support/GraphWriter.cpp

Chris Lattner sabre at nondot.org
Tue Jan 20 10:25:03 PST 2009


Author: lattner
Date: Tue Jan 20 12:25:03 2009
New Revision: 62592

URL: http://llvm.org/viewvc/llvm-project?rev=62592&view=rev
Log:
improve compatibility with various versions of graphviz, patch by
Patrick Boettcher!

Modified:
    llvm/trunk/lib/Support/GraphWriter.cpp

Modified: llvm/trunk/lib/Support/GraphWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/GraphWriter.cpp?rev=62592&r1=62591&r2=62592&view=diff

==============================================================================
--- llvm/trunk/lib/Support/GraphWriter.cpp (original)
+++ llvm/trunk/lib/Support/GraphWriter.cpp Tue Jan 20 12:25:03 2009
@@ -57,8 +57,8 @@
     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();





More information about the llvm-commits mailing list