summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-22 02:10:13 +0000
committerChris Lattner <sabre@nondot.org>2002-07-22 02:10:13 +0000
commitf5cad15a67707e0e7cff7619a446992c3f9d1907 (patch)
tree38763d3caf6596aac0b4e22edd3fd99e43a5f617 /llvm/lib/Analysis
parentbf30a91f947fae583d5394035a8a52863cbbd3ae (diff)
downloadbcm5719-llvm-f5cad15a67707e0e7cff7619a446992c3f9d1907.tar.gz
bcm5719-llvm-f5cad15a67707e0e7cff7619a446992c3f9d1907.zip
*** empty log message ***
llvm-svn: 2985
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp16
1 files changed, 10 insertions, 6 deletions
diff --git a/llvm/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp b/llvm/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp
index 774bdc7cd7b..b080ec2f3e2 100644
--- a/llvm/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp
+++ b/llvm/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));
OpenPOWER on IntegriCloud