mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "Large Types Lowering: workaround LLDB issue by adding debug_value_addr for some new alloc_stack instrs"
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user