HomePhabricator

[NFC] Do not track calls to inlined intrinsics in IFI.

Authored by jeroen.dobbelaere on Jul 13 2021, 1:16 AM.

Description

[NFC] Do not track calls to inlined intrinsics in IFI.

Just like intrinsics are not tracked for IFI.InlinedCalls, they should not be tracked for IFI.InlinedCallSites.

In the current top-of-tree this change is a NFC, but the full restrict patches (D68484) potentially trigger an read-after-free
if intrinsics are also added to the InlindeCallSites, due to a late optimization potentially removing some of the inlined intrinsics.

Also see https://lists.llvm.org/pipermail/llvm-dev/2021-July/151722.html for a discussion about the problem.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D105805

Details

Committed
jeroen.dobbelaereJul 13 2021, 1:18 AM
Reviewer
aeubanks
Differential Revision
D105805: [NFC] Do not track calls to inlined intrinsics in IFI.
Parents
rGd89d3dfae17d: sanitizer_common: optimize memory drain
Branches
Unknown
Tags
Unknown