From 1451bb7390d56feaf3b2610cd8cfe2c2e5a064c0 Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Fri, 7 Oct 2022 10:16:07 +0200 Subject: [PATCH] Abort on UBSAN errors Previously, UBSAN errors might slip undetected. --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f874bb6878..bd3f0c8b5e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,6 +23,7 @@ variables: # Pass run-time flags to AddressSanitizer to get core dumps on error. ASAN_OPTIONS: abort_on_error=1:disable_coredump=0:unmap_shadow_on_exit=1 TSAN_OPTIONS_COMMON: "disable_coredump=0 second_deadlock_stack=1 history_size=7 log_exe_name=true log_path=tsan" + UBSAN_OPTIONS: "halt_on_error=1:abort_on_error=1:disable_coredump=0" TARBALL_EXTENSION: xz