[llvm] [StackColoring] Delete dead stack slots (PR #72633)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 27 03:52:39 PST 2023


mohammed-nurulhoque wrote:

> There is an assertion failure in llvm/test/DebugInfo/COFF/lexicalblock.ll:
> 
> ```
> MachineFrameInfo.h:530: int64_t llvm::MachineFrameInfo::getObjectOffset(int) const: Assertion `!isDeadObjectIndex(ObjectIdx) && "Getting frame offset for a dead object?"' failed.
> ```

The issue was VariableDbgInfos still had DebugInfo for the deleted stack slot. Fixed now.

https://github.com/llvm/llvm-project/pull/72633


More information about the llvm-commits mailing list