[llvm-commits] CVS: llvm/lib/Support/Statistic.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Feb 9 15:15:01 PST 2003
Changes in directory llvm/lib/Support:
Statistic.cpp updated: 1.6 -> 1.7
---
Log message:
Remove the -debug option from release executables
---
Diffs of the changes:
Index: llvm/lib/Support/Statistic.cpp
diff -u llvm/lib/Support/Statistic.cpp:1.6 llvm/lib/Support/Statistic.cpp:1.7
--- llvm/lib/Support/Statistic.cpp:1.6 Sun Oct 27 13:07:47 2002
+++ llvm/lib/Support/Statistic.cpp Sun Feb 9 15:13:57 2003
@@ -30,10 +30,13 @@
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;
More information about the llvm-commits
mailing list