diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-02-09 21:13:57 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-02-09 21:13:57 +0000 | 
| commit | c15e3d93f2d61d26c2a6243f6386358608537541 (patch) | |
| tree | 35666f02f80b730d997c7a76c6896044348c36de /llvm/lib/Support | |
| parent | b0208e1ae3ea33ffdb8911d81802ee121ac0e681 (diff) | |
| download | bcm5719-llvm-c15e3d93f2d61d26c2a6243f6386358608537541.tar.gz bcm5719-llvm-c15e3d93f2d61d26c2a6243f6386358608537541.zip  | |
Remove the -debug option from release executables
llvm-svn: 5521
Diffstat (limited to 'llvm/lib/Support')
| -rw-r--r-- | llvm/lib/Support/Statistic.cpp | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Support/Statistic.cpp b/llvm/lib/Support/Statistic.cpp index 6345fbfcfcf..f6645c6ae40 100644 --- a/llvm/lib/Support/Statistic.cpp +++ b/llvm/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;  | 

