You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BasicAA] Improve escape source analysis for return-only captures
This fixes an issue where improving inference from a general capture
to a return-only capture can make alias analysis results worse.
The problem is that if there are return-only captures, the call
can no longer treated as a plain escape source, as the call result
may alias one of the return-only-capture arguments, even if they
don't escape.
Fix this by having isEscapeSource() return the relevant arguments and
explicitly check that these aren't aliased.
Fixes#131168.
0 commit comments