This commit is contained in:
parent
073c3bb60f
commit
f7c7e75185
3 changed files with 22 additions and 3 deletions
|
|
@ -1 +0,0 @@
|
||||||
src:/drone/src/modules/surface/private/linux/system.cpp
|
|
||||||
|
|
@ -22,7 +22,6 @@ cmake . \
|
||||||
-DCMAKE_CXX_FLAGS=" \
|
-DCMAKE_CXX_FLAGS=" \
|
||||||
-fsanitize=memory \
|
-fsanitize=memory \
|
||||||
-fsanitize-memory-track-origins \
|
-fsanitize-memory-track-origins \
|
||||||
-fsanitize-ignorelist=$(git rev-parse --show-toplevel)/tools/ci/amd64/clang/msan.blacklist \
|
|
||||||
-g \
|
-g \
|
||||||
-fno-omit-frame-pointer \
|
-fno-omit-frame-pointer \
|
||||||
-std=c++23 \
|
-std=c++23 \
|
||||||
|
|
@ -37,8 +36,8 @@ cmake . \
|
||||||
-lc++abi" \
|
-lc++abi" \
|
||||||
&& cmake --build ./build --target='surface_tests' -j`nproc`
|
&& cmake --build ./build --target='surface_tests' -j`nproc`
|
||||||
|
|
||||||
export MSAN_OPTIONS="fast_unwind_on_malloc=0:verbosity=1"
|
|
||||||
export MSAN_SYMBOLIZER_PATH="$(which llvm-symbolizer)"
|
export MSAN_SYMBOLIZER_PATH="$(which llvm-symbolizer)"
|
||||||
|
export MSAN_OPTIONS="suppressions=$(git rev-parse --show-toplevel)/tools/ci/amd64/clang/msan.supp:fast_unwind_on_malloc=0:verbosity=1"
|
||||||
for test in $(find ./build -type f -name '*_tests' -executable); do
|
for test in $(find ./build -type f -name '*_tests' -executable); do
|
||||||
echo "Running $test"
|
echo "Running $test"
|
||||||
"$test"
|
"$test"
|
||||||
|
|
|
||||||
21
tools/ci/amd64/clang/msan.supp
Normal file
21
tools/ci/amd64/clang/msan.supp
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
fun:_XData32
|
||||||
|
fun:_XSend
|
||||||
|
fun:_XFlush
|
||||||
|
fun:_X*
|
||||||
|
fun:XChangeProperty
|
||||||
|
fun:XFlush
|
||||||
|
fun:X*
|
||||||
|
|
||||||
|
fun:xcb_writev
|
||||||
|
fun:_xcb_conn_wait
|
||||||
|
fun:_xcb_out_send
|
||||||
|
fun:write_vec
|
||||||
|
fun:xcb_*
|
||||||
|
|
||||||
|
src:/usr/lib/libX11.so.*
|
||||||
|
src:/usr/lib/libxcb.so.*
|
||||||
|
src:/usr/lib64/libX11.so.*
|
||||||
|
src:/usr/lib64/libxcb.so.*
|
||||||
|
|
||||||
|
fun:writev
|
||||||
|
src:/usr/lib/libc.so.*
|
||||||
Loading…
Add table
Reference in a new issue