about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--test/lit.site.cfg.in2
-rw-r--r--unittests/lit-unit-tests-common.site.cfg.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/lit.site.cfg.in b/test/lit.site.cfg.in
index 5f2415d6..e5fe3d89 100644
--- a/test/lit.site.cfg.in
+++ b/test/lit.site.cfg.in
@@ -43,7 +43,7 @@ config.have_msan = True if @IS_MSAN_BUILD@ == 1 else False
 
 # Add sanitizer list
 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"
 
 # Current target
 config.target_triple = "@TARGET_TRIPLE@"
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"