Skip to content

Commit

Permalink
Revert "[sanitizer] Remove -hwasan-use-after-scope=1"
Browse files Browse the repository at this point in the history
Accidentally deleted additional flag.

This reverts commit 7f5a9dc.
  • Loading branch information
vitalybuka committed Dec 11, 2024
1 parent 6870a12 commit bbf3045
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zorg/buildbot/builders/sanitizers/buildbot_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ function build_stage2 {
export HWASAN_SYMBOLIZER_PATH="${llvm_symbolizer_path}"
export HWASAN_OPTIONS="abort_on_error=1"
llvm_use_sanitizer="HWAddress"
fsanitize_flag="-fsanitize=hwaddress -mllvm -hwasan-use-after-scope=1"
# FIXME: Support globals with DSO https://github.com/llvm/llvm-project/issues/57206
cmake_stage2_common_options+=" -DLLVM_ENABLE_PLUGINS=OFF"
elif [ "$sanitizer_name" == "ubsan" ]; then
Expand Down

0 comments on commit bbf3045

Please sign in to comment.