Revert "Large Types Lowering: workaround LLDB issue by adding debug_value_addr for some new alloc_stack instrs"

This commit is contained in:
Joe Shajrawi
2017-11-30 16:28:52 -08:00
committed by GitHub
parent f7a310a607
commit 86ea17a85f

View File

@@ -1465,10 +1465,6 @@ static void setInstrUsers(StructLoweringState &pass, AllocStackInst *allocInstr,
SILValue tgt = storeUser->getDest();
createOutlinedCopyCall(copyBuilder, allocInstr, tgt, pass);
storeUser->eraseFromParent();
} else if (auto *dbgInst = dyn_cast<DebugValueInst>(user)) {
SILBuilder dbgBuilder(dbgInst);
// We need to create a debug for the alloc stack as well for LLDB
dbgBuilder.createDebugValueAddr(dbgInst->getLoc(), allocInstr);
}
}
}