From 197c0205c4d576122e6410018fce983c4d467b73 Mon Sep 17 00:00:00 2001 From: mxaddict Date: Mon, 19 Feb 2024 20:52:31 +0800 Subject: [PATCH] [MSan] updates --- ci/test/00_setup_env_native_msan.sh | 2 +- test/sanitizer_suppressions/msan | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ci/test/00_setup_env_native_msan.sh b/ci/test/00_setup_env_native_msan.sh index fa98282145007..adff79b333d34 100755 --- a/ci/test/00_setup_env_native_msan.sh +++ b/ci/test/00_setup_env_native_msan.sh @@ -8,7 +8,7 @@ export LC_ALL=C.UTF-8 export CI_IMAGE_NAME_TAG="docker.io/ubuntu:22.04" LIBCXX_DIR="/msan/cxx_build/" -export MSAN_FLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer -g -O1 -fno-optimize-sibling-calls" +export MSAN_FLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer -g -O1 -fno-optimize-sibling-calls -fsanitize-blacklist=${BASE_ROOT_DIR}/test/sanitizer_suppressions/msan" LIBCXX_FLAGS="-nostdinc++ -nostdlib++ -isystem ${LIBCXX_DIR}include/c++/v1 -L${LIBCXX_DIR}lib -Wl,-rpath,${LIBCXX_DIR}lib -lc++ -lc++abi -lpthread -Wno-unused-command-line-argument" export MSAN_AND_LIBCXX_FLAGS="${MSAN_FLAGS} ${LIBCXX_FLAGS}" diff --git a/test/sanitizer_suppressions/msan b/test/sanitizer_suppressions/msan index b8d7383562ff3..8a6f0684546c9 100644 --- a/test/sanitizer_suppressions/msan +++ b/test/sanitizer_suppressions/msan @@ -1,4 +1,3 @@ [memory] # false-positive in mcl fun:*mcl* -