This file is empty.
[oota-llvm.git] / lib / Support / GraphWriter.cpp
index 31d8d797bedbbb49c7335587d5a2b8ce021e7c99..aad1818372a35bc59f0d4e81f438342328acf085 100644 (file)
@@ -2,8 +2,8 @@
 //
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by the LLVM research group and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
 //
@@ -57,6 +57,7 @@ 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(0);
     
@@ -70,6 +71,7 @@ void llvm::DisplayGraph(const sys::Path &Filename) {
   sys::Path dotty(LLVM_PATH_DOTTY);
 
   std::vector<const char*> args;
+  args.push_back(dotty.c_str());
   args.push_back(Filename.c_str());
   args.push_back(0);