[libcxx] r256729 - Print stacktrace with UBSAN
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 3 19:54:58 PST 2016
Author: ericwf
Date: Sun Jan 3 21:54:58 2016
New Revision: 256729
URL: http://llvm.org/viewvc/llvm-project?rev=256729&view=rev
Log:
Print stacktrace with UBSAN
Modified:
libcxx/trunk/test/libcxx/test/config.py
Modified: libcxx/trunk/test/libcxx/test/config.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/test/config.py?rev=256729&r1=256728&r2=256729&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/test/config.py (original)
+++ libcxx/trunk/test/libcxx/test/config.py Sun Jan 3 21:54:58 2016
@@ -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']
More information about the cfe-commits
mailing list