aboutsummaryrefslogtreecommitdiff
path: root/test/libcxx
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-01-06 20:05:20 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-01-06 20:05:20 +0000
commit722ebc7ad794cf56284863322f8220e769093709 (patch)
treebbd3f7411feb4d23aeedd56ebb9e31f2959c657b /test/libcxx
parentb4c64ad90b81d2a779786b7edb4c5c6dd28cc57d (diff)
downloadsrc-722ebc7ad794cf56284863322f8220e769093709.tar.gz
src-722ebc7ad794cf56284863322f8220e769093709.zip
Vendor import of libc++ trunk r256945:vendor/libc++/r256945
Notes
Notes: svn path=/vendor/libc++/dist/; revision=293255 svn path=/vendor/libc++/r256945/; revision=293256; tag=vendor/libc++/r256945
Diffstat (limited to 'test/libcxx')
-rw-r--r--test/libcxx/test/config.py1
-rw-r--r--test/libcxx/test/target_info.py2
2 files changed, 2 insertions, 1 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']
diff --git a/test/libcxx/test/target_info.py b/test/libcxx/test/target_info.py
index 667644d2fec6..df216fcb21fa 100644
--- a/test/libcxx/test/target_info.py
+++ b/test/libcxx/test/target_info.py
@@ -62,7 +62,7 @@ class DarwinLocalTI(DefaultTargetInfo):
super(DarwinLocalTI, self).__init__(full_config)
def add_locale_features(self, features):
- add_common_locales(feature, self.full_config.lit_config)
+ add_common_locales(features, self.full_config.lit_config)
def add_cxx_compile_flags(self, flags):
try: