[llvm-branch-commits] [llvm] [asan] isInterestingAlloca: remove the isAllocaPromotable condition (PR #77221)

Vitaly Buka via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Feb 14 23:33:29 PST 2024


================
@@ -1279,9 +1278,6 @@ bool AddressSanitizer::isInterestingAlloca(const AllocaInst &AI) {
       (AI.getAllocatedType()->isSized() &&
----------------
vitalybuka wrote:

isInterestingAlloca contains other checks. There is no point to have a flag to enable instrumentation of allocas which we can't instrument.

https://github.com/llvm/llvm-project/pull/77221


More information about the llvm-branch-commits mailing list