diff --git a/projects/tarantool/build.sh b/projects/tarantool/build.sh index fad5acc47b83..cd38bc61323a 100755 --- a/projects/tarantool/build.sh +++ b/projects/tarantool/build.sh @@ -54,6 +54,14 @@ case $SANITIZER in *) SANITIZERS_ARGS="" ;; esac +export LSAN_OPTIONS="verbosity=1:log_threads=1" + +# Workaround for a LeakSanitizer crashes, +# see https://github.com/google/oss-fuzz/issues/11798. +if [ "$ARCHITECTURE" = "aarch64" ]; then + export ASAN_OPTIONS=detect_leaks=0 +fi + : ${LD:="${CXX}"} : ${LDFLAGS:="${CXXFLAGS}"} # to make sure we link with sanitizer runtime