From: Alan T. DeKok Date: Wed, 31 Mar 2021 15:39:41 +0000 (-0400) Subject: suppress leaks on OSX X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f975fc9ae88a10fc67aaa65650800745c295482c;p=thirdparty%2Ffreeradius-server.git suppress leaks on OSX --- diff --git a/scripts/build/lsan_leaks_osx b/scripts/build/lsan_leaks_osx new file mode 100644 index 00000000000..c1fff0ad3e5 --- /dev/null +++ b/scripts/build/lsan_leaks_osx @@ -0,0 +1,14 @@ +# OSX has all kinds of leaks in its' system files +# +# Note that you MUST include the `pwd`, otherwise LSAN looks in a directory relative +# to the binary, which is most definitely not what we want. +# +#export LSAN_OPTIONS="suppressions=`pwd`/scripts/lsan_leaks_osx fast_unwind_on_malloc=0 print_suppressions=0" +#export CC="/usr/local/opt/llvm/bin/clang" +#export ASAN_OPTIONS="malloc_context_size=50 detect_leaks=1 symbolize=1" +#export ASAN_SYMBOLIZER_PATH="/usr/local/opt/llvm/bin/llvm-symbolizer" + +leak:libsystem_notify +leak:getpwuid_r +leak:_st_tzset_basic +leak:newlocale