
# Note: match-leak-kinds is currently commented out because older
# versions of valgrind don't support it

# C++ GCC 5.1 reachable objects
# https://bugs.kde.org/show_bug.cgi?id=345307
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65434
{
   GCC-STL-pool-reachable
   Memcheck:Leak
   #match-leak-kinds: reachable
   fun:malloc
   fun:pool
   fun:__static_initialization_and_destruction_0
   fun:_GLOBAL__sub_I_eh_alloc.cc
   fun:call_init.part.0
   fun:_dl_init
}

# musl libc supressions
{
   musl-free
   Memcheck:Free
   fun:free
   obj:/lib/ld-musl-x86_64.so.1
}
{
   musl-leak
   Memcheck:Leak
   match-leak-kinds: reachable
   fun:calloc
   fun:load_library
   fun:load_preload
   fun:__dls3
   fun:__dls2
   obj:/lib/ld-musl-x86_64.so.1
}
