diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2017-05-04 17:08:54 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2017-05-04 17:08:54 +0000 |
commit | e9c66ad9fa9f1c1138c2a4868610e1d77271216c (patch) | |
tree | 622d32e491f918b6603f83aabac0930f87f27d1d /libcxx/test/std/thread/thread.mutex/thread.mutex.requirements | |
parent | 93c68e11893e895a3f70b848c4f6589920c1d2e6 (diff) | |
download | bcm5719-llvm-e9c66ad9fa9f1c1138c2a4868610e1d77271216c.tar.gz bcm5719-llvm-e9c66ad9fa9f1c1138c2a4868610e1d77271216c.zip |
Add markup for libc++ dylib availability
Libc++ is used as a system library on macOS and iOS (amongst others). In order
for users to be able to compile a binary that is intended to be deployed to an
older version of the platform, clang provides the
availability attribute <https://clang.llvm.org/docs/AttributeReference.html#availability>_
that can be placed on declarations to describe the lifecycle of a symbol in the
library.
See docs/DesignDocs/AvailabilityMarkup.rst for more information.
Differential Revision: https://reviews.llvm.org/D31739
llvm-svn: 302172
Diffstat (limited to 'libcxx/test/std/thread/thread.mutex/thread.mutex.requirements')
2 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/lit.local.cfg b/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/lit.local.cfg new file mode 100644 index 00000000000..fd3dc778c8c --- /dev/null +++ b/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/lit.local.cfg @@ -0,0 +1,2 @@ +if 'availability' in config.available_features: + config.unsupported = True diff --git a/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/lit.local.cfg b/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/lit.local.cfg new file mode 100644 index 00000000000..fd3dc778c8c --- /dev/null +++ b/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/lit.local.cfg @@ -0,0 +1,2 @@ +if 'availability' in config.available_features: + config.unsupported = True |