#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

# Use via environment variable LSAN_OPTIONS=.../leak-suppress.txt

# uno typelib
leak:cppu/source/typelib/typelib.cxx

# uno component context
leak:cppu::defaultBootstrap_InitialComponentContext

# global objects
leak:SfxFilterContainer::ReadSingleFilter_Impl

# build-time tool soltools/cpp:
leak:soltools/cpp/_cpp.c

# resource managers, normally global objects
leak:ResMgr::CreateResMgr

# bridge's RTTI information, leaked knowingly
leak:RTTI::getRTTI

# ignore glib reported leaks, most likely false positives
# glib not built with asan/lsan
leak:libglib

# ignore gdk reported leaks, most likely false positives
# gdk not built with asan/lsan
leak:libgdk

# ignore fontconfig reported leaks, most likely false positives
# fontconfig not built with asan/lsan
leak:libfontconfig.so

# ignore libGL related leaks, most likely false positives
# libGL is not built with asan/lsan
leak:libGL.so

# knowingly leaked in the unit tests to get a SfxMedium
leak:SfxObjectShell::DoInitUnitTest

# ignore some libc related leaks
leak:__new_exitfn
leak:__GI___strdup
