From 9b155ccb0740db6966ec62812b3778f48de9f1b7 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Tue, 10 Dec 2024 17:32:50 -0800 Subject: [PATCH] Revert "[sanitizer] Add -fno-sanitize-recover=undefined" We need this flag, but we need to do a cleanup. This reverts commit 6870a12ffdfd3af276d6ea73cd6b1051a3832ee0. --- zorg/buildbot/builders/sanitizers/buildbot_functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zorg/buildbot/builders/sanitizers/buildbot_functions.sh b/zorg/buildbot/builders/sanitizers/buildbot_functions.sh index 0da2ebe8..d21d4d65 100755 --- a/zorg/buildbot/builders/sanitizers/buildbot_functions.sh +++ b/zorg/buildbot/builders/sanitizers/buildbot_functions.sh @@ -274,7 +274,7 @@ function build_stage2 { elif [ "$sanitizer_name" == "ubsan" ]; then export UBSAN_OPTIONS="external_symbolizer_path=${llvm_symbolizer_path}:print_stacktrace=1" llvm_use_sanitizer="Undefined" - fsanitize_flag="-fsanitize=undefined -fno-sanitize-recover=undefined" + fsanitize_flag="-fsanitize=undefined" # FIXME: After switching to LLVM_ENABLE_RUNTIMES, vptr has infitine # recursion. fno_sanitize_flag+=" -fno-sanitize=vptr" @@ -283,7 +283,7 @@ function build_stage2 { export ASAN_OPTIONS="check_initialization_order=true" export UBSAN_OPTIONS="print_stacktrace=1" llvm_use_sanitizer="Address;Undefined" - fsanitize_flag="-fsanitize=address,undefined -fno-sanitize-recover=undefined" + fsanitize_flag="-fsanitize=address,undefined" # FIXME: After switching to LLVM_ENABLE_RUNTIMES, vptr has infitine # recursion. fno_sanitize_flag+=" -fno-sanitize=vptr"