UBSan doesn't globally replace new/delete but it still makes some tests fail. Investigation needed.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@273372 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2016-06-22 04:00:45 +00:00
parent 506f9d5bd3
commit 2aa1c4af39
7 changed files with 20 additions and 1 deletions

View File

@@ -628,7 +628,6 @@ class Configuration(object):
self.cxx.compile_flags += ['-O3']
self.env['UBSAN_OPTIONS'] = 'print_stacktrace=1'
self.config.available_features.add('ubsan')
self.config.available_features.add('sanitizer-new-delete')
elif san == 'Thread':
self.cxx.flags += ['-fsanitize=thread']
self.config.available_features.add('tsan')