Mesa (main): ci: Enable a build with MSan.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Dec 23 09:40:48 UTC 2021
Module: Mesa
Branch: main
Commit: 059b71b58def40059ad5d0f37fb8f2f8c613a8a1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=059b71b58def40059ad5d0f37fb8f2f8c613a8a1
Author: Emma Anholt <emma at anholt.net>
Date: Fri Dec 17 10:25:36 2021 -0800
ci: Enable a build with MSan.
This will catch uninitialized data usage (such as 37855fd59d18 ("glcpp:
Fully initialize struct gl_context")) much faster than valgrind does.
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14236>
---
.gitlab-ci.yml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c577b71ee48..fcf5a2d17a1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -734,6 +734,24 @@ debian-testing-asan:
MINIO_ARTIFACT_NAME: ""
ARTIFACTS_DEBUG_SYMBOLS: 1
+debian-testing-msan:
+ extends:
+ - debian-clang
+ variables:
+ # l_undef is incompatible with msan
+ EXTRA_OPTION:
+ -D b_sanitize=memory
+ -D b_lundef=false
+ MINIO_ARTIFACT_NAME: ""
+ ARTIFACTS_DEBUG_SYMBOLS: 1
+ # Don't run all the tests yet:
+ # GLSL has some issues in sexpression reading.
+ # gtest has issues in its test initialization.
+ MESON_TEST_ARGS: "--suite glcpp --suite gallium --suite format"
+ # Freedreno dropped because freedreno tools fail at msan.
+ GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink,radeonsi,tegra,d3d12,crocus"
+ VULKAN_DRIVERS: intel,amd,broadcom,virtio-experimental
+
debian-clover-testing:
extends:
- .meson-build
More information about the mesa-commit
mailing list