aboutsummaryrefslogtreecommitdiff
path: root/test/libcxx/test/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/libcxx/test/config.py')
-rw-r--r--test/libcxx/test/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/libcxx/test/config.py b/test/libcxx/test/config.py
index fefbf01ad450..5ab7fcb37401 100644
--- a/test/libcxx/test/config.py
+++ b/test/libcxx/test/config.py
@@ -558,6 +558,7 @@ class Configuration(object):
'-fno-sanitize=vptr,function',
'-fno-sanitize-recover']
self.cxx.compile_flags += ['-O3']
+ self.env['UBSAN_OPTIONS'] = 'print_stacktrace=1'
self.config.available_features.add('ubsan')
elif san == 'Thread':
self.cxx.flags += ['-fsanitize=thread']