diff options
author | Devang Patel <dpatel@apple.com> | 2011-01-07 21:30:41 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-01-07 21:30:41 +0000 |
commit | 1dea232624c246341a5a98e0d481ba89f854012c (patch) | |
tree | 1fbdd1da68bd24feca57695daa852f7c7404938a /lib/CodeGen/LiveDebugVariables.cpp | |
parent | 30a343aeedf777f9b8b6be9823da750afbf765b1 (diff) |
Appropriately truncate debug info range in dwarf output.
Enable live debug variables pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123032 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveDebugVariables.cpp')
-rw-r--r-- | lib/CodeGen/LiveDebugVariables.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/CodeGen/LiveDebugVariables.cpp b/lib/CodeGen/LiveDebugVariables.cpp index baedfc3efb..2b6a54eab5 100644 --- a/lib/CodeGen/LiveDebugVariables.cpp +++ b/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); |