[llvm] [Asan] Skip pre-split coroutine and noop coroutine frame (PR #99415)
Adrian Vogelsgesang via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 19 16:53:56 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;
----------------
vogelsgesang wrote:
nit: for consistency with preceding lines:
```suggestion
if (F.isPresplitCoroutine()) return false;
```
https://github.com/llvm/llvm-project/pull/99415
More information about the llvm-commits
mailing list