[libc++][hardening] XFAIL test in fast mode under HWASAN (#78862)
commitaaa7de1fc9255f489e760c3449efde9c07ddb1cb
authorVitaly Buka <vitalybuka@google.com>
Sat, 20 Jan 2024 21:37:38 +0000 (20 13:37 -0800)
committerGitHub <noreply@github.com>
Sat, 20 Jan 2024 21:37:38 +0000 (20 13:37 -0800)
treea6b3f534e4698e1a8b2365c3b879df294fbc722d
parent2fc2ee136c0183f40af4c0e7a8d27092b8ce3415
[libc++][hardening] XFAIL test in fast mode under HWASAN (#78862)

After #77883, `fast` mode uses TRAP, and HWASAN
replaces TRAP with abort or error exit code.

On a quick looks it should be possible to avoid doing
that in HWASAN, but historically this is convention for all
sanitizers. Changing this behavior may break existing
users.

Other sanitizers are not affected because they don't
install TRAP handlers by default. But if they do, they also
replace TRAP with abort/exit.
libcxx/test/libcxx/assertions/modes/enabling_assertions_enables_extensive_mode.pass.cpp
libcxx/test/libcxx/assertions/modes/override_with_extensive_mode.pass.cpp
libcxx/test/libcxx/assertions/modes/override_with_fast_mode.pass.cpp