From f37271ec5b3da12baf1d6a8b988e39c2686013bb Mon Sep 17 00:00:00 2001 From: hashlag Date: Mon, 6 Jul 2026 03:41:35 +0300 Subject: [PATCH] Add enable no-sanitize-recover for all UBSan checks. --- ChaosTests/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChaosTests/CMakeLists.txt b/ChaosTests/CMakeLists.txt index 6075a0f..f6ca5b8 100644 --- a/ChaosTests/CMakeLists.txt +++ b/ChaosTests/CMakeLists.txt @@ -40,8 +40,8 @@ if(CHAOS_COVERAGE) endif() if(CHAOS_ASANUBSAN) - target_compile_options(ChaosTests PRIVATE -fsanitize=address,undefined) - target_link_options(ChaosTests PRIVATE -fsanitize=address,undefined) + target_compile_options(ChaosTests PRIVATE -fsanitize=address,undefined -fno-sanitize-recover=all) + target_link_options(ChaosTests PRIVATE -fsanitize=address,undefined -fno-sanitize-recover=all) endif() include(GoogleTest)