Skip to content

Commit 9b155cc

Browse files
committed
Revert "[sanitizer] Add -fno-sanitize-recover=undefined"
We need this flag, but we need to do a cleanup. This reverts commit 6870a12.
1 parent c06320d commit 9b155cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zorg/buildbot/builders/sanitizers/buildbot_functions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ function build_stage2 {
274274
elif [ "$sanitizer_name" == "ubsan" ]; then
275275
export UBSAN_OPTIONS="external_symbolizer_path=${llvm_symbolizer_path}:print_stacktrace=1"
276276
llvm_use_sanitizer="Undefined"
277-
fsanitize_flag="-fsanitize=undefined -fno-sanitize-recover=undefined"
277+
fsanitize_flag="-fsanitize=undefined"
278278
# FIXME: After switching to LLVM_ENABLE_RUNTIMES, vptr has infitine
279279
# recursion.
280280
fno_sanitize_flag+=" -fno-sanitize=vptr"
@@ -283,7 +283,7 @@ function build_stage2 {
283283
export ASAN_OPTIONS="check_initialization_order=true"
284284
export UBSAN_OPTIONS="print_stacktrace=1"
285285
llvm_use_sanitizer="Address;Undefined"
286-
fsanitize_flag="-fsanitize=address,undefined -fno-sanitize-recover=undefined"
286+
fsanitize_flag="-fsanitize=address,undefined"
287287
# FIXME: After switching to LLVM_ENABLE_RUNTIMES, vptr has infitine
288288
# recursion.
289289
fno_sanitize_flag+=" -fno-sanitize=vptr"

0 commit comments

Comments
 (0)