Files
swift-mirror/lib/SIL/Utils/FieldSensitivePrunedLiveness.cpp
Kavon Farvardin fd06bb1eeb DebugInfo: fix FSPL SILLocation assertion issue
We were reusing the SILLocation from return instructions
to generate projections to ultimately destroy values.

This fix improves on what we were doing before, by
converting the insertion point's SILLocation into a
RegularLocation _without dropping_ the source location.

If the SILLocation was tied to an ASTNode, it'll carry
over the line location for this new regular location.
Otherwise, it'll fallback to the prior strategy of
producing a line 0 autogenerated location.

resolves rdar://163281183
2025-10-24 11:57:34 -07:00

62 KiB