Skip to content

Commit

Permalink
Revert "[sanitizer] Add -fno-sanitize-recover=undefined"
Browse files Browse the repository at this point in the history
We need this flag, but we need to do a cleanup.

This reverts commit 6870a12.
  • Loading branch information
vitalybuka committed Dec 11, 2024
1 parent c06320d commit 9b155cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zorg/buildbot/builders/sanitizers/buildbot_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 9b155cc

Please sign in to comment.