about summary refs log tree commit diff homepage
path: root/test
diff options
context:
space:
mode:
authorLukáš Zaoral <lzaoral@redhat.com>2022-01-22 21:27:43 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2022-03-09 20:45:11 +0100
commitb2df9d44ffba8e5008dbb567075728896363db99 (patch)
tree6c690adbcfb1cd70c3eb9d3989bc41afef5ea90f /test
parent77980cd8b25d6bc97f4f019fb2491acb27e5fc76 (diff)
downloadklee-b2df9d44ffba8e5008dbb567075728896363db99.tar.gz
tests: make UBSAN print stack traces
Diffstat (limited to 'test')
-rw-r--r--test/lit.site.cfg.in2
1 files changed, 1 insertions, 1 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@"