Use gv's --spartan option, which trades away an extra row of UI buttons
authorDan Gohman <gohman@apple.com>
Tue, 15 Apr 2008 17:27:05 +0000 (17:27 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 15 Apr 2008 17:27:05 +0000 (17:27 +0000)
for more space for displaying the graph.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49730 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/GraphWriter.cpp

index b41e597a0ff4859517255235d47f30d69e41be10..aad1818372a35bc59f0d4e81f438342328acf085 100644 (file)
@@ -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);