]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add ThreadSanitizer core dumping flags
authorMichal Nowak <mnowak@isc.org>
Mon, 19 Oct 2020 14:01:42 +0000 (16:01 +0200)
committerOndřej Surý <ondrej@isc.org>
Thu, 4 Mar 2021 15:25:50 +0000 (16:25 +0100)
This should let us have core dumps from crashed system test when
ThreadSanitizer is enabled.

(cherry picked from commit a730bc47f5aae9cf43a75db0dce29acb91d040b6)

.gitlab-ci.yml

index 482aab30e5b50d4a39ca34024710bf09c4921829..89ac3344e2bad6ec77c61310834113162b8057a1 100644 (file)
@@ -25,7 +25,7 @@ variables:
 
   # Pass run-time flags to AddressSanitizer to get core dumps on error.
   ASAN_OPTIONS_COMMON: abort_on_error=1:disable_coredump=0:unmap_shadow_on_exit=1
-  TSAN_OPTIONS_COMMON: "second_deadlock_stack=1 history_size=7 log_exe_name=true log_path=tsan external_symbolizer_path=/usr/lib/llvm-11/bin/llvm-symbolizer"
+  TSAN_OPTIONS_COMMON: "disable_coredump=0 second_deadlock_stack=1 history_size=7 log_exe_name=true log_path=tsan external_symbolizer_path=/usr/lib/llvm-11/bin/llvm-symbolizer"
 
   TARBALL_COMPRESSOR: xz
   TARBALL_EXTENSION: xz