This requires rtti info because tblgen uses commandline,
[oota-llvm.git] / lib / Support / GraphWriter.cpp
index 31d8d797bedbbb49c7335587d5a2b8ce021e7c99..eab76dff5d586f16938935c93d90d407223e147b 100644 (file)
@@ -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);