From b2df9d44ffba8e5008dbb567075728896363db99 Mon Sep 17 00:00:00 2001 From: Lukáš Zaoral Date: Sat, 22 Jan 2022 21:27:43 +0100 Subject: tests: make UBSAN print stack traces --- unittests/lit-unit-tests-common.site.cfg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unittests') diff --git a/unittests/lit-unit-tests-common.site.cfg.in b/unittests/lit-unit-tests-common.site.cfg.in index 38626995..054516b7 100644 --- a/unittests/lit-unit-tests-common.site.cfg.in +++ b/unittests/lit-unit-tests-common.site.cfg.in @@ -8,4 +8,4 @@ config.unit_test_exe_suffix = "@UNIT_TEST_EXE_SUFFIX@" # Let the main config do the real work. lit_config.load_config(config, "@CMAKE_SOURCE_DIR@/unittests/lit-unit-tests-common.cfg") config.environment['LSAN_OPTIONS'] = "suppressions=@KLEE_UTILS_DIR@/sanitizers/lsan.txt" -config.environment['UBSAN_OPTIONS'] = "suppressions=@KLEE_UTILS_DIR@/sanitizers/ubsan.txt" +config.environment['UBSAN_OPTIONS'] = "print_stacktrace=1,suppressions=@KLEE_UTILS_DIR@/sanitizers/ubsan.txt" -- cgit 1.4.1