HomePhabricator

[MS] Fix crash involving gnu stmt exprs and inalloca

Authored by rnk on Mar 4 2021, 1:52 PM.

Description

[MS] Fix crash involving gnu stmt exprs and inalloca

Use a WeakTrackingVH to cope with the stmt emission logic that cleans up
unreachable blocks. This invalidates the reference to the deferred
replacement placeholder. Cope with it.

Fixes PR25102 (from 2015!)

Details

Committed
rnkMar 4 2021, 1:57 PM
Parents
rG9899427174b4: [NFC][AliasSetTracker] Remove implicit conversion AliasResult to integer.
Branches
Unknown
Tags
Unknown