Files
swift-mirror/test/DebugInfo
Shubham Sandeep Rastogi 52a5ed8646 Pass correct SubExpr as source location when emitting Load of LValue.
When emitting an LValue of a LoadExpr during SILGen, the Expression
passed as a SILLocation for the LValue was the parent LoadExpr instead
of the SubExpr that contains the LValue for the load. This leads to
the SILLocation to be marked as implicit, because a LoadExpr is always
an implicit expression.

An implicit SILLocation is not emitted when doing IRGen as it is
considered to be hidden from debug info and thus we lose the debug
location for the LValue of a LoadExpr.

This patch fixes this issue.
2025-02-21 09:16:30 -08:00
..
2024-02-24 07:25:59 -05:00
2023-10-06 13:55:33 -07:00
2023-08-23 16:32:19 -07:00
2023-06-29 16:16:56 -07:00
2024-10-31 11:32:40 +00:00
2024-10-31 11:32:40 +00:00