23 lines
1.3 KiB
Plaintext
23 lines
1.3 KiB
Plaintext
# LeakSanitizer suppressions for the `linux-asan` build (PLOT_SANITIZE=address).
|
|
# Pointed at by tests/CMakeLists.txt, which sets ASAN_OPTIONS on the test itself
|
|
# so `ctest --test-dir build/asan` gets it however it is launched.
|
|
#
|
|
# The boundary this file exists to hold: a sanitizer report from *our* code is a
|
|
# finding and must fail the run, so nothing here may ever suppress a frame under
|
|
# include/plot/ or src/. Only the GL driver may be named -- an EGL/GL stack
|
|
# (Mesa's libEGL, libgallium, libglapi, radeonsi's ACO, or the LLVM JIT behind
|
|
# llvmpipe) is a system library this project does not build and cannot fix, and
|
|
# it is loaded only by the headless EGL context the GL tests create.
|
|
#
|
|
# It is currently empty of entries on purpose. The asan suite runs clean against
|
|
# the installed driver -- 127 cases, no report of any origin (the leak checker was
|
|
# confirmed live with a deliberate 1 KB leak, which does report and exit 1) -- and
|
|
# a suppression nobody has needed is a suppression nobody can justify. If a driver
|
|
# report does appear, add the narrowest entry that names the library, e.g.
|
|
#
|
|
# leak:libEGL.so
|
|
# leak:libgallium*
|
|
#
|
|
# and leave the count in the commit message. The shape is `leak:<substring of a
|
|
# frame in the stack>`; ASan takes the same list through ASAN_OPTIONS.
|