diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-22 02:10:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-22 02:10:13 +0000 |
commit | 5ff62e90d0bc321206023897edc1e2691cb0fbb6 (patch) | |
tree | f9dd91f41ef5858a217a9b871d0e3d8fe089da99 /lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp | |
parent | 50e3f88d38d93edcec9047322da8ed43aefc9e3d (diff) |
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2985 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp')
-rw-r--r-- | lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp b/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp index 774bdc7cd7..b080ec2f3e 100644 --- a/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp +++ b/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp @@ -19,12 +19,16 @@ AnalysisID FunctionLiveVarInfo::ID(AnalysisID::create<FunctionLiveVarInfo>()); LiveVarDebugLevel_t DEBUG_LV; -static cl::Enum<LiveVarDebugLevel_t> DEBUG_LV_opt(DEBUG_LV, "dlivevar", cl::Hidden, - "enable live-variable debugging information", - clEnumValN(LV_DEBUG_None , "n", "disable debug output"), - clEnumValN(LV_DEBUG_Normal , "y", "enable debug output"), - clEnumValN(LV_DEBUG_Instr, "i", "print live-var sets before/after every machine instrn"), - clEnumValN(LV_DEBUG_Verbose, "v", "print def, use sets for every instrn also"), 0); +static cl::opt<LiveVarDebugLevel_t, true> +DEBUG_LV_opt("dlivevar", cl::Hidden, cl::location(DEBUG_LV), + cl::desc("enable live-variable debugging information"), + cl::values( +clEnumValN(LV_DEBUG_None , "n", "disable debug output"), +clEnumValN(LV_DEBUG_Normal , "y", "enable debug output"), +clEnumValN(LV_DEBUG_Instr, "i", "print live-var sets before/after " + "every machine instrn"), +clEnumValN(LV_DEBUG_Verbose, "v", "print def, use sets for every instrn also"), + 0)); |