diff options
Diffstat (limited to 'support/lib/Support/Statistic.cpp')
-rw-r--r-- | support/lib/Support/Statistic.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/support/lib/Support/Statistic.cpp b/support/lib/Support/Statistic.cpp index 6345fbfcfc..f6645c6ae4 100644 --- a/support/lib/Support/Statistic.cpp +++ b/support/lib/Support/Statistic.cpp @@ -30,10 +30,13 @@ unsigned StatisticBase::NumStats = 0; static cl::opt<bool> Enabled("stats", cl::desc("Enable statistics output from program")); +#ifndef NDEBUG // -debug - Command line option to enable the DEBUG statements in the passes. +// This flag may only be enabled in debug builds. static cl::opt<bool, true> Debug("debug", cl::desc("Enable debug output"), cl::Hidden, cl::location(DebugFlag)); +#endif struct StatRecord { std::string Value; |