Skip to content

Commit

Permalink
[sanitizer] Fix ubsan build
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Dec 11, 2024
1 parent 655634c commit 7c43daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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=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"
Expand Down

0 comments on commit 7c43daf

Please sign in to comment.