From f3e2a7180a53a0b730f61e02d20f62feae3728f4 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Mon, 4 Jan 2016 03:54:58 +0000 Subject: [PATCH] Print stacktrace with UBSAN git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@256729 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/libcxx/test/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/libcxx/test/config.py b/test/libcxx/test/config.py index fefbf01ad..5ab7fcb37 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']