@@ -16,11 +16,10 @@ jobs:
1616 CC : " ccache /usr/bin/clang"
1717 CXX : " ccache /usr/bin/clang++"
1818 # AddressSanitizer configuration for optimal CI performance
19- ASAN_OPTIONS : " abort_on_error=1:fast_unwind_on_malloc=0:detect_odr_violation=0:detect_leaks=1 "
19+ ASAN_OPTIONS : " abort_on_error=1:fast_unwind_on_malloc=0:detect_odr_violation=0"
2020 # - `abort_on_error=1`: Terminate immediately on error
2121 # - `fast_unwind_on_malloc=0`: Use slower but more accurate stack unwinding
2222 # - `detect_odr_violation=0`: Disable One Definition Rule violation detection to reduce noise
23- # - `detect_leaks=1`: Enable leak detection
2423 UBSAN_OPTIONS : " print_stacktrace=1:halt_on_error=1"
2524 # - `print_stacktrace=1`: Show stack traces for undefined behavior
2625 # - `halt_on_error=1`: Terminate on undefined behavior
@@ -58,15 +57,14 @@ jobs:
5857 echo "CCACHE_DIR=$PWD/.ccache" >> $GITHUB_ENV
5958 - name : Zero ccache stats and limit in size
6059 run : ccache -z --max-size=500M
61- - name : Build with AddressSanitizer and LeakSanitizer
60+ - name : Build with AddressSanitizer
6261 run : |
6362 # Build with sanitizers enabled - using -O1 for reasonable performance
6463 # -fsanitize=address: detects buffer overflows, use-after-free, etc.
65- # -fsanitize=leak: detects memory leaks
6664 # -fsanitize=undefined: detects undefined behavior
6765 # -fno-sanitize-recover=all: abort on first error for faster feedback
6866 # -g: include debug symbols for better error reporting
69- export SANITIZER_FLAGS="-fsanitize=address -fsanitize=leak -fsanitize= undefined -fno-sanitize-recover=all -g -O1"
67+ export SANITIZER_FLAGS="-fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -g -O1"
7068 make -C src -j${{env.linux-vcpus}} \
7169 CXXFLAGS="$SANITIZER_FLAGS" \
7270 LINKFLAGS="$SANITIZER_FLAGS" \
0 commit comments