swift
c02f663f - [DebugInfo] Fix AllocStackHoisting losing debug info

Commit
1 year ago
[DebugInfo] Fix AllocStackHoisting losing debug info AllocStackHoisting was losing debug info, including at -Onone. When two alloc_stacks of the same type are merged, one of them would lose their debug variable. It is now salvaged, with an added debug_value. This case was previously only handled for noncopyable types, it is now done in all cases.
Author
Committer
Parents
Loading