mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-14 07:31:39 +00:00
Remove the -debug option from release executables
llvm-svn: 5521
This commit is contained in:
parent
59a935f381
commit
ae91295cfa
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user