Skip to content

Commit

Permalink
[sanitizer] Enable hwasan-use-after-scope
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Aug 24, 2022
1 parent 011ae4e commit cec21ce
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 @@ -194,7 +194,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"
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 cec21ce

Please sign in to comment.