[llvm] [Asan] Skip pre-split coroutine and noop coroutine frame (PR #99415)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 15:13:56 PDT 2024


================
@@ -2032,6 +2032,8 @@ bool ModuleAddressSanitizer::shouldInstrumentGlobal(GlobalVariable *G) const {
   if (G->isThreadLocal()) return false;
   // For now, just ignore this Global if the alignment is large.
   if (G->getAlign() && *G->getAlign() > getMinRedzoneSizeForGlobal()) return false;
+  if (G->getName() == "NoopCoro.Frame.Const")
----------------
vitalybuka wrote:

Also there is 
```
if (F.isPresplitCoroutine())
    return false;
```

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


More information about the llvm-commits mailing list