diff options
author | sylvain-audi <62035306+sylvain-audi@users.noreply.github.com> | 2024-03-08 12:29:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-08 12:29:15 -0500 |
commit | ea12c1fa15093e24818785b2ca6e06588372a3bf (patch) | |
tree | a368588df823a0d3e6bc71dc159dde9c51ba4b2b /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | dbca8aa1472b9140a68918b2615519dc7dad593f (diff) | |
download | llvm-ea12c1fa15093e24818785b2ca6e06588372a3bf.zip llvm-ea12c1fa15093e24818785b2ca6e06588372a3bf.tar.gz llvm-ea12c1fa15093e24818785b2ca6e06588372a3bf.tar.bz2 |
[Asan] Add "funclet" OpBundle to generated runtime calls if required by EH personality (#82533)
Previously, runtime calls introduced by ASan instrumentation into EH
pads were missing the funclet token expected by WinEHPrepare.
WinEHPrepare would then identify the containing BB as invalid and
discard it, causing invalid code generation that most likely crashes.
Also fixed localescape test, switching its EH personality to match code
without funclets.
This PR is based on the Phabricator patch
https://reviews.llvm.org/D143108
Fixes https://github.com/llvm/llvm-project/issues/64990
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions