summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit53d3241b52c413b2f5862a93b81d14cca595d0dc (patch)
tree9e352b21f24c751522c48bf2a50edbf8d8f4a0a5 /llvm/lib/Support/GraphWriter.cpp
parenta5eb45bcfd6e30260bac193deb8643c9ec741b84 (diff)
downloadbcm5719-llvm-53d3241b52c413b2f5862a93b81d14cca595d0dc.tar.gz
bcm5719-llvm-53d3241b52c413b2f5862a93b81d14cca595d0dc.zip
Use gv's --spartan option, which trades away an extra row of UI buttons
for more space for displaying the graph. llvm-svn: 49730
Diffstat (limited to 'llvm/lib/Support/GraphWriter.cpp')
-rw-r--r--llvm/lib/Support/GraphWriter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/GraphWriter.cpp b/llvm/lib/Support/GraphWriter.cpp
index b41e597a0ff..aad1818372a 100644
--- a/llvm/lib/Support/GraphWriter.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud