HomePhabricator

[Attributor][FIX] Ensure h2s doesn't trigger on escaped pointers

Authored by jdoerfert on Oct 12 2019, 9:14 PM.

Description

[Attributor][FIX] Ensure h2s doesn't trigger on escaped pointers

We do not yet perform h2s because we know something is free'ed but we do
it because we know the pointer does not escape. Storing the pointer
allows it to escape so we have to prevent that.

llvm-svn: 374699

Details

Committed
jdoerfertOct 12 2019, 9:14 PM
Parents
rGd20f80780e05: [Attributor][FIX] Do not apply h2s for arbitrary mallocs
Branches
Unknown
Tags
Unknown