# LeakSanitizer suppressions for the Linux ASan/LSan CI job.
#
# Chromium's built-in list (build/sanitizers/lsan_suppressions.cc) is parsed in
# addition to this file, so only add entries it doesn't already cover.

# Upstream test bots never reach this code at all because they point
# FONTCONFIG_SYSROOT at a hermetic config with no <include> and no
# <selectfont>, whereas Electron's tests parse the build container's
# /etc/fonts.
leak:third_party/fontconfig

# GLib/GTK process-lifetime state (type system, quarks, theme and settings
# caches) that is never freed by design.
leak:libglib-2.0.so

# base::PoissonAllocationSampler deliberately leaks its previous
# sampled-address hash set when the set grows (see
# PoissonAllocationSampler::BalanceAddressesHashSet), since lock-free
# readers may still hold pointers to the old map. The heap-profiling
# contentTracing specs are the first tests to actually engage the
# sampler, so the initial 64-bucket set gets swapped out and reported.
# One-time and bounded (~1KB per growth step).
leak:base/sampling_heap_profiler/
