Files
swift-mirror/lib/SILGen
Shubham Sandeep Rastogi 1e4cec9d4b Merge pull request #79524 from rastogishubham/FixASANBug
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 and thus, preserves the location information.
2025-02-24 09:44:22 -08:00
..
2025-02-07 15:12:11 +09:00