mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +00:00
Remove the -debug option from release executables
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5521 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
638b381713
commit
0ad4c00c68
@ -30,10 +30,13 @@ unsigned StatisticBase::NumStats = 0;
|
|||||||
static cl::opt<bool>
|
static cl::opt<bool>
|
||||||
Enabled("stats", cl::desc("Enable statistics output from program"));
|
Enabled("stats", cl::desc("Enable statistics output from program"));
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
// -debug - Command line option to enable the DEBUG statements in the passes.
|
// -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>
|
static cl::opt<bool, true>
|
||||||
Debug("debug", cl::desc("Enable debug output"), cl::Hidden,
|
Debug("debug", cl::desc("Enable debug output"), cl::Hidden,
|
||||||
cl::location(DebugFlag));
|
cl::location(DebugFlag));
|
||||||
|
#endif
|
||||||
|
|
||||||
struct StatRecord {
|
struct StatRecord {
|
||||||
std::string Value;
|
std::string Value;
|
||||||
|
@ -30,10 +30,13 @@ unsigned StatisticBase::NumStats = 0;
|
|||||||
static cl::opt<bool>
|
static cl::opt<bool>
|
||||||
Enabled("stats", cl::desc("Enable statistics output from program"));
|
Enabled("stats", cl::desc("Enable statistics output from program"));
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
// -debug - Command line option to enable the DEBUG statements in the passes.
|
// -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>
|
static cl::opt<bool, true>
|
||||||
Debug("debug", cl::desc("Enable debug output"), cl::Hidden,
|
Debug("debug", cl::desc("Enable debug output"), cl::Hidden,
|
||||||
cl::location(DebugFlag));
|
cl::location(DebugFlag));
|
||||||
|
#endif
|
||||||
|
|
||||||
struct StatRecord {
|
struct StatRecord {
|
||||||
std::string Value;
|
std::string Value;
|
||||||
|
Loading…
Reference in New Issue
Block a user