summaryrefslogtreecommitdiff
path: root/lib/Support/Statistic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/Statistic.cpp')
-rw-r--r--lib/Support/Statistic.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Support/Statistic.cpp b/lib/Support/Statistic.cpp
index 79b19503b7..249955beeb 100644
--- a/lib/Support/Statistic.cpp
+++ b/lib/Support/Statistic.cpp
@@ -18,7 +18,10 @@
#include "Support/CommandLine.h"
#include <iostream>
+bool DebugFlag; // DebugFlag - Exported boolean set by the -debug option
+
static cl::Flag Enabled("stats", "Enable statistics output from program");
+static cl::Flag Debug(DebugFlag, "debug", "Enable debug output", cl::Hidden);
// Print information when destroyed, iff command line option is specified
void StatisticBase::destroy() const {