Move debug options out of header files so that the header does not have

to #include CommandLine.h.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2712 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-05-22 17:08:27 +00:00
parent 59dcbf9c03
commit 70e60cbd4d
8 changed files with 28 additions and 20 deletions
+3 -2
View File
@@ -13,13 +13,14 @@
#include "llvm/Target/TargetMachine.h"
#include "llvm/BasicBlock.h"
#include "llvm/Instruction.h"
#include "Support/CommandLine.h"
#include <algorithm>
using std::cerr;
using std::vector;
//************************* External Data Types *****************************/
SchedDebugLevel_t SchedDebugLevel;
cl::Enum<enum SchedDebugLevel_t> SchedDebugLevel("dsched", cl::Hidden,
static cl::Enum<enum SchedDebugLevel_t> Opt(SchedDebugLevel,"dsched",cl::Hidden,
"enable instruction scheduling debugging information",
clEnumValN(Sched_NoDebugInfo, "n", "disable debug output"),
clEnumValN(Sched_Disable, "off", "disable instruction scheduling"),