3 Commits

Author SHA1 Message Date
Charlie Barto
db058b954a
[asan][windows] fix issue64990 test (#85137)
This was broken by https://github.com/llvm/llvm-project/pull/84971
2024-03-13 15:34:12 -07:00
Martin Storsjö
0d6f9bf274 [asan] [test] Mark a new test UNSUPPORTED for MinGW targets
This test uses the MSVC/clang-cl specific -EHsc flag.

This test was recently added, in
ea12c1fa15093e24818785b2ca6e06588372a3bf.
2024-03-09 22:48:18 +02:00
sylvain-audi
ea12c1fa15
[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
2024-03-08 12:29:15 -05:00