diff --git a/projects/tarantool/build.sh b/projects/tarantool/build.sh index a5ab6a57468b..7675a6a60024 100755 --- a/projects/tarantool/build.sh +++ b/projects/tarantool/build.sh @@ -53,6 +53,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