swift
6136183c - [DebugInfo] Fix loss of VarDecl in debug values for salvaged stores

Commit
1 year ago
[DebugInfo] Fix loss of VarDecl in debug values for salvaged stores When a store is salvaged, its debug_value will have two locations: the location of the store, attached to the debug_value instruction, and the location of the variable, attached to the SILDebugVariable. The getDecl function was using the location of the store, instead of the location of the variable, and so was returning nullptr.
Author
Parents
Loading