aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-01-07 21:30:41 +0000
committerDevang Patel <dpatel@apple.com>2011-01-07 21:30:41 +0000
commit6381e1584c513e0f9367745de5f67fd230bf8598 (patch)
treea678feb69a82130dcd0718ec71f8953206e75af9 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent0638c20e7c6a084e454368c072f4bbe44c571479 (diff)
downloadllvm-6381e1584c513e0f9367745de5f67fd230bf8598.zip
llvm-6381e1584c513e0f9367745de5f67fd230bf8598.tar.gz
llvm-6381e1584c513e0f9367745de5f67fd230bf8598.tar.bz2
Appropriately truncate debug info range in dwarf output.
Enable live debug variables pass. llvm-svn: 123032
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveDebugVariables.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp
index baedfc3..2b6a54e 100644
--- a/llvm/lib/CodeGen/LiveDebugVariables.cpp
+++ b/llvm/lib/CodeGen/LiveDebugVariables.cpp
@@ -39,10 +39,6 @@
using namespace llvm;
-static cl::opt<bool>
-EnableLDV("live-debug-variables",
- cl::desc("Enable the live debug variables pass"), cl::Hidden);
-
char LiveDebugVariables::ID = 0;
INITIALIZE_PASS_BEGIN(LiveDebugVariables, "livedebugvars",
@@ -622,8 +618,6 @@ bool LDVImpl::runOnMachineFunction(MachineFunction &mf) {
}
bool LiveDebugVariables::runOnMachineFunction(MachineFunction &mf) {
- if (!EnableLDV)
- return false;
if (!pImpl)
pImpl = new LDVImpl(this);
return static_cast<LDVImpl*>(pImpl)->runOnMachineFunction(mf);