summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/GraphWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-05-03 18:32:10 +0000
committerChris Lattner <sabre@nondot.org>2007-05-03 18:32:10 +0000
commit357882d27cf594bf904084935dcfa3acc99010d4 (patch)
tree36eb446e6ed3ae0dec04976a1a4126aa21372914 /llvm/lib/Support/GraphWriter.cpp
parent847f31ec257d5ba8785dafe5ac9ce715915b7f23 (diff)
downloadbcm5719-llvm-357882d27cf594bf904084935dcfa3acc99010d4.tar.gz
bcm5719-llvm-357882d27cf594bf904084935dcfa3acc99010d4.zip
This is a patch to fix a compile error in STLExtras.h, and
a bug in GraphWriter.cpp. Patch by Florian Brandner llvm-svn: 36684
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 31d8d797bed..eab76dff5d5 100644
--- a/llvm/lib/Support/GraphWriter.cpp
+++ b/llvm/lib/Support/GraphWriter.cpp
@@ -70,6 +70,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);
OpenPOWER on IntegriCloud