diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-07-10 04:32:21 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-07-10 04:32:21 +0000 |
commit | 6bfa7316ad167fa0d6ee3343520c3c614a119a4d (patch) | |
tree | 0521c0366ebb63b838c9b8f2f7cb4593777de77c | |
parent | 3f22e24981f70dbbabe12b009ceb99fa0a35ff2f (diff) | |
download | external_libcxx-6bfa7316ad167fa0d6ee3343520c3c614a119a4d.tar.gz external_libcxx-6bfa7316ad167fa0d6ee3343520c3c614a119a4d.tar.bz2 external_libcxx-6bfa7316ad167fa0d6ee3343520c3c614a119a4d.zip |
Fix issues with UBSAN test configuration.
On Apple the test feature 'sanitizer-new-delete' was incorrectly
getting added to the LIT feature set, which mistakenly caused tests
to be disabled when using UBSAN (the feature is only needed with ASAN/MSAN/TSAN).
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@307518 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/libcxx/experimental/containers/sequences/dynarray/dynarray.cons/default_throws_bad_alloc.pass.cpp | 2 | ||||
-rw-r--r-- | utils/libcxx/test/target_info.py | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/test/libcxx/experimental/containers/sequences/dynarray/dynarray.cons/default_throws_bad_alloc.pass.cpp b/test/libcxx/experimental/containers/sequences/dynarray/dynarray.cons/default_throws_bad_alloc.pass.cpp index 9c6cad8ee..400984135 100644 --- a/test/libcxx/experimental/containers/sequences/dynarray/dynarray.cons/default_throws_bad_alloc.pass.cpp +++ b/test/libcxx/experimental/containers/sequences/dynarray/dynarray.cons/default_throws_bad_alloc.pass.cpp @@ -16,7 +16,7 @@ // UNSUPPORTED: c++98, c++03, c++11 // The sanitizers replace new/delete with versions that do not throw bad_alloc. -// UNSUPPORTED: sanitizer-new-delete, ubsan +// UNSUPPORTED: sanitizer-new-delete #include <experimental/dynarray> diff --git a/utils/libcxx/test/target_info.py b/utils/libcxx/test/target_info.py index b3bbc0088..e6fde900c 100644 --- a/utils/libcxx/test/target_info.py +++ b/utils/libcxx/test/target_info.py @@ -169,10 +169,6 @@ class DarwinLocalTI(DefaultTargetInfo): # should be available in libc++ directly. return False - def add_sanitizer_features(self, sanitizer_type, features): - if sanitizer_type == 'Undefined': - features.add('sanitizer-new-delete') - class FreeBSDLocalTI(DefaultTargetInfo): def __init__(self, full_config): |