[llvm] [Asan] Skip pre-split coroutine and noop coroutine frame (PR #99415)
Wei Wang via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 22 10:37:57 PDT 2024
================
@@ -2947,6 +2947,8 @@ bool AddressSanitizer::instrumentFunction(Function &F,
if (F.getLinkage() == GlobalValue::AvailableExternallyLinkage) return false;
if (!ClDebugFunc.empty() && ClDebugFunc == F.getName()) return false;
if (F.getName().starts_with("__asan_")) return false;
+ if (F.isPresplitCoroutine())
+ return false;
----------------
apolloww wrote:
They were on the same line, and I don't see a problem with that (see the first commit), but clang-format complained.
https://github.com/llvm/llvm-project/pull/99415
More information about the llvm-commits
mailing list