From 7c43daf50557d55709f2cfffdc86f77bd1a916de Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Tue, 10 Dec 2024 22:46:27 -0800 Subject: [PATCH] [sanitizer] Fix ubsan build --- zorg/buildbot/builders/sanitizers/buildbot_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zorg/buildbot/builders/sanitizers/buildbot_functions.sh b/zorg/buildbot/builders/sanitizers/buildbot_functions.sh index a8d6d14f..5a7aaabf 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=address,undefined -fno-sanitize-recover=all" + fsanitize_flag="-fsanitize=undefined -fno-sanitize-recover=all" # FIXME: After switching to LLVM_ENABLE_RUNTIMES, vptr has infitine # recursion. fno_sanitize_flag+=" -fno-sanitize=vptr"