From b220221c8b19391a1cb43b1cd75155fc5d8c58ed 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 95ff1cf..b85d788 100644 --- a/ChaosTests/CMakeLists.txt +++ b/ChaosTests/CMakeLists.txt @@ -41,8 +41,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)