aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/GraphWriter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-04-15 17:27:05 +0000
committerDan Gohman <gohman@apple.com>2008-04-15 17:27:05 +0000
commitb11af0db2e1c1359543c7128a2a4c4fe61a03317 (patch)
treee40f1ca46c554bb0afaf8400b271c58fc9d0a47e /lib/Support/GraphWriter.cpp
parent1ace67c5219679df46f5280708388b18f8f09847 (diff)
downloadexternal_llvm-b11af0db2e1c1359543c7128a2a4c4fe61a03317.zip
external_llvm-b11af0db2e1c1359543c7128a2a4c4fe61a03317.tar.gz
external_llvm-b11af0db2e1c1359543c7128a2a4c4fe61a03317.tar.bz2
Use gv's --spartan option, which trades away an extra row of UI buttons
for more space for displaying the graph. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49730 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/GraphWriter.cpp')
-rw-r--r--lib/Support/GraphWriter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Support/GraphWriter.cpp b/lib/Support/GraphWriter.cpp
index b41e597..aad1818 100644
--- a/lib/Support/GraphWriter.cpp
+++ b/lib/Support/GraphWriter.cpp
@@ -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);