aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorWei Wang <apollo.mobility@gmail.com>2024-07-22 10:53:40 -0700
committerGitHub <noreply@github.com>2024-07-22 10:53:40 -0700
commitbee2654300a8f524e05dd4cad41411d597246ac0 (patch)
tree94f69fb01e24e182598182209a93659818d6c244 /clang/lib/CodeGen/CodeGenModule.cpp
parent0950533cff55478af0eb802c3698ff5a4e94bb73 (diff)
downloadllvm-bee2654300a8f524e05dd4cad41411d597246ac0.zip
llvm-bee2654300a8f524e05dd4cad41411d597246ac0.tar.gz
llvm-bee2654300a8f524e05dd4cad41411d597246ac0.tar.bz2
[Asan] Skip pre-split coroutine and noop coroutine frame (#99415)
CoroSplit expects the second parameter of `llvm.coro.id` to be the promise alloca. Applying Asan on a pre-split coroutine breaks this assumption and causes split to fail. This should be NFC because asan pass happens late in the pipeline where all coroutines are split. This is to prevent crash in case the order of passes are switched. Also `NoopCoro.Frame.Const` is a special coroutine frame that does nothing when resumed or destroyed. There is no point to do instrumentation on it.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions