Skip to content

Commit de64f85

Browse files
authored
[hwasan] Port "[Asan] Skip pre-split coroutine and noop coroutine frame (#99415)" (#154803)
Originally suggested by rnk@ (this is the simplified function-level skip version, to unblock builds ASAP)
1 parent e42ef80 commit de64f85

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1574,6 +1574,9 @@ void HWAddressSanitizer::sanitizeFunction(Function &F,
15741574
if (F.empty())
15751575
return;
15761576

1577+
if (F.isPresplitCoroutine())
1578+
return;
1579+
15771580
NumTotalFuncs++;
15781581

15791582
OptimizationRemarkEmitter &ORE =

0 commit comments

Comments
 (0)