]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Suppressing memory leaks produced by clang LeakSanitizer
authorOndřej Surý <ondrej@isc.org>
Sat, 22 Feb 2025 17:17:18 +0000 (18:17 +0100)
committerOndřej Surý <ondrej@isc.org>
Sat, 22 Feb 2025 17:17:18 +0000 (18:17 +0100)
Previously, we were suppressing only the memory leaks in the GCC
LeakSanitizer job, but those suppression are also needed by the Clang.

.gitlab-ci.yml

index d9c463887d91457cb879c875730892850135cd15..a88e22ff50c420ed1339519ab1d220ab7b3394a3 100644 (file)
@@ -1268,6 +1268,8 @@ clang:asan:
   <<: *build_job
 
 system:clang:asan:
+  variables:
+    LSAN_OPTIONS: "suppressions=$CI_PROJECT_DIR/suppr-lsan.txt"
   <<: *base_image
   <<: *system_test_job
   needs: