Skip to content

Commit 981898f

Browse files
committed
Revert "asan - re-eable leak checks"
This reverts commit c9cc6b8.
1 parent 985a94d commit 981898f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/setup.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ function run() {
8888
echo "export ASAN_SYMBOLIZER_PATH=$(which llvm-symbolizer)" >> ${config}
8989
echo "export UBSAN_OPTIONS=print_stacktrace=1" >> ${config}
9090
echo "export LSAN_OPTIONS=suppressions=${SUPPRESSION_FILE}" >> ${config}
91-
echo "export ASAN_OPTIONS=detect_leaks=1:symbolize=1:abort_on_error=1:detect_container_overflow=1:check_initialization_order=1:detect_stack_use_after_return=1" >> ${config}
92-
echo 'export MASON_SANITIZE="-fsanitize=address,undefined,integer,leak -fno-sanitize=vptr,function"' >> ${config}
91+
echo "export ASAN_OPTIONS=symbolize=1:abort_on_error=1:detect_container_overflow=1:check_initialization_order=1:detect_stack_use_after_return=1" >> ${config}
92+
echo 'export MASON_SANITIZE="-fsanitize=address,undefined -fno-sanitize=vptr,function"' >> ${config}
9393
echo 'export MASON_SANITIZE_CXXFLAGS="${MASON_SANITIZE} -fno-sanitize=vptr,function -fsanitize-address-use-after-scope -fno-omit-frame-pointer -fno-common"' >> ${config}
9494
echo 'export MASON_SANITIZE_LDFLAGS="${MASON_SANITIZE}"' >> ${config}
9595

0 commit comments

Comments
 (0)