ci: Use a dlclose-disabling preload library for leak checking in Vulkan.
authorEmma Anholt <emma@anholt.net>
Wed, 15 Dec 2021 22:47:06 +0000 (14:47 -0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 27 Jan 2022 23:47:46 +0000 (23:47 +0000)
commit8457667be983bf4adb75ebe9d786cf686f3e16e5
tree565df1d035b5d33a479fdc2333b60d94a7a16105
parentda7a475138d6b5cab15e26be3343abf36ab74727
ci: Use a dlclose-disabling preload library for leak checking in Vulkan.

For GL, we disable the dlclose() call on the driver in asan builds so that
leak reports get proper backtraces.  For Vulkan, the dlclose() happens
from libvulkan so you need a bigger hammer to keep our drivers loaded.

Acked-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14235>
13 files changed:
.gitlab-ci.yml
.gitlab-ci/test-source-dep.yml
meson.build
meson_options.txt
src/freedreno/ci/deqp-freedreno-a630-vk-asan.toml [new file with mode: 0644]
src/freedreno/ci/freedreno-a630-asan-skips.txt [new file with mode: 0644]
src/freedreno/ci/gitlab-ci.yml
src/gallium/frontends/lavapipe/ci/gitlab-ci.yml
src/gallium/frontends/lavapipe/ci/lvp-asan-fails.txt
src/gallium/frontends/lavapipe/ci/lvp-asan-skips.txt
src/tool/dlclose-skip/dlclose-skip.c [new file with mode: 0644]
src/tool/dlclose-skip/meson.build [new file with mode: 0644]
src/tool/meson.build