Closed adrianherrera closed 2 years ago
A use-after-free occurs when a store instruction in StoresToErase is also in the MaybeUnusedInsts set. Remove it from the MaybeUnusedInsts set before erasing it.
StoresToErase
MaybeUnusedInsts
Thanks!
A use-after-free occurs when a store instruction in
StoresToErase
is also in theMaybeUnusedInsts
set. Remove it from theMaybeUnusedInsts
set before erasing it.