aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/GraphWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/GraphWriter.h')
-rw-r--r--include/llvm/Support/GraphWriter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h
index 01b44d0b8e..4944788b9e 100644
--- a/include/llvm/Support/GraphWriter.h
+++ b/include/llvm/Support/GraphWriter.h
@@ -29,6 +29,7 @@
#include "llvm/System/Path.h"
#include <fstream>
#include <vector>
+#include <cassert>
namespace llvm {
@@ -66,7 +67,7 @@ namespace DOT { // Private functions...
}
}
-void DisplayGraph(const sys::Path& Filename);
+void DisplayGraph(const sys::Path& Filename, bool wait=true);
template<typename GraphType>
class GraphWriter {