swift
7ba2e4fa - [DebugInfo] Fix forwarding ownership of salvaged unary instructions

Commit
35 days ago
[DebugInfo] Fix forwarding ownership of salvaged unary instructions Enum, struct and tuple instructions should not have a forwarding ownership within a debug reconstruction block. Enum instructions (via salvageUnaryInst) and struct salvaging now reset the forwarding ownership to None. Tuple instructions don't force the forwarding ownership to owned for move-only types, so no fix was needed for those, but tests have been added for all cases.
Author
Committer
Parents
Loading