Skip to content

Commit

Permalink
fix(ASAN): avoid reporting false 'odr-violation' issues (apache#1611)
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 authored Sep 18, 2023
1 parent fef5b16 commit 31ce328
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export BUILD_LATEST_DIR=${BUILD_ROOT_DIR}/latest
export REPORT_DIR="$ROOT/test_report"
export THIRDPARTY_ROOT=$ROOT/thirdparty
export LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/amd64/server:${BUILD_LATEST_DIR}/output/lib:${THIRDPARTY_ROOT}/output/lib:${LD_LIBRARY_PATH}
# Disable AddressSanitizerOneDefinitionRuleViolation, see https://github.com/google/sanitizers/issues/1017 for details.
export ASAN_OPTIONS=detect_odr_violation=0

function usage()
{
Expand Down

0 comments on commit 31ce328

Please sign in to comment.