File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7676 version : " 14"
7777 build_type : Debug
7878 sanitizers : " address,undefined"
79-
80- - name : " Ubuntu Clang 14 + MSan"
81- os : ubuntu-22.04
82- compiler : clang
83- version : " 14"
84- build_type : Debug
85- sanitizers : " memory"
8679
8780 steps :
8881 - name : Checkout code
@@ -130,10 +123,6 @@ jobs:
130123
131124 if [[ "${{ matrix.sanitizers }}" != "" ]]; then
132125 SANITIZER_FLAGS="-fsanitize=${{ matrix.sanitizers }} -fno-omit-frame-pointer"
133- if [[ "${{ matrix.sanitizers }}" == *"memory"* ]]; then
134- # Memory sanitizer requires libc++
135- SANITIZER_FLAGS="$SANITIZER_FLAGS -stdlib=libc++"
136- fi
137126 # Configure with sanitizer flags - ensure GoogleTest is built with same flags
138127 cmake -B build \
139128 -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
@@ -172,16 +161,7 @@ jobs:
172161 if [[ "${{ matrix.sanitizers }}" == *"undefined"* ]]; then
173162 export UBSAN_OPTIONS="abort_on_error=1:halt_on_error=1:print_stacktrace=1"
174163 fi
175- if [[ "${{ matrix.sanitizers }}" == *"memory"* ]]; then
176- # MSan options with suppressions for GoogleTest false positives
177- export MSAN_OPTIONS="abort_on_error=1:halt_on_error=1:print_stats=1:suppressions=$PWD/msan_suppressions.txt"
178- # Create suppression file for GoogleTest issues
179- echo "# Suppress GoogleTest string initialization issues" > msan_suppressions.txt
180- echo "fun:*testing*TestInfo*TestInfo*" >> msan_suppressions.txt
181- echo "fun:*testing*internal*MakeAndRegisterTestInfo*" >> msan_suppressions.txt
182- echo "fun:*__cxx_global_var_init*" >> msan_suppressions.txt
183- echo "fun:*_GLOBAL__sub_I_*" >> msan_suppressions.txt
184- fi
164+
185165
186166 ./test_intrusive_list
187167 shell : bash
You can’t perform that action at this time.
0 commit comments