mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +00:00
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
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user