fmayer added a comment. I think you also want to use `SSI->isSafe(AllocaInst*)` in `isInterestingAlloca` to prevent use-after-scope instrumentation if all accesses are safe.
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D112098/new/ https://reviews.llvm.org/D112098 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits