build(ci): let ASAN print tracebacks for more errors (SIGABORT, SIGILL)

This commit is contained in:
bfredl
2023-01-18 15:42:30 +01:00
parent b8ad1bfe8b
commit 87d0809545
3 changed files with 4 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ TSAN_OPTIONS=
case "$FLAVOR" in
asan)
CLANG_SANITIZER=ASAN_UBSAN
ASAN_OPTIONS="detect_leaks=1:check_initialization_order=1:log_path=$LOG_DIR/asan:intercept_tls_get_addr=0"
ASAN_OPTIONS="detect_leaks=1:check_initialization_order=1:handle_abort=1:handle_sigill=1:log_path=$LOG_DIR/asan:intercept_tls_get_addr=0"
UBSAN_OPTIONS="print_stacktrace=1 log_path=$LOG_DIR/ubsan"
;;
tsan)