diff --git a/zorg/buildbot/builders/sanitizers/buildbot_functions.sh b/zorg/buildbot/builders/sanitizers/buildbot_functions.sh index 3c3844cf..bcd47d07 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" + fsanitize_flag="-fsanitize=address,undefined -fno-sanitize-recover=all" # FIXME: After switching to LLVM_ENABLE_RUNTIMES, vptr has infitine # recursion. fno_sanitize_flag+=" -fno-sanitize=vptr"