From: Sebastian Pipping Date: Sat, 3 Aug 2019 19:21:25 +0000 (+0200) Subject: qa.sh: Enable LeakSanitizer X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=99e59d5b5c400ffde29390e96cda17a00cda1e04;p=libexpat qa.sh: Enable LeakSanitizer --- diff --git a/expat/qa.sh b/expat/qa.sh index d74ebc35..e52e513d 100755 --- a/expat/qa.sh +++ b/expat/qa.sh @@ -57,6 +57,7 @@ populate_environment() { # http://clang.llvm.org/docs/AddressSanitizer.html BASE_COMPILE_FLAGS+=" -g -fsanitize=address -fno-omit-frame-pointer" BASE_LINK_FLAGS+=" -g -Wc,-fsanitize=address" # "-Wc," is for libtool + export ASAN_OPTIONS=detect_leaks=1 ;; memory) # http://clang.llvm.org/docs/MemorySanitizer.html