diff options
author | Jonathan Roelofs <jonathan@codesourcery.com> | 2014-09-05 19:45:05 +0000 |
---|---|---|
committer | Jonathan Roelofs <jonathan@codesourcery.com> | 2014-09-05 19:45:05 +0000 |
commit | b3fcc67f8f13cd95d36ed29d0ae1308decb9e099 (patch) | |
tree | 0c01716be284ed8200fde073b145887bea7b4508 /libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_load.pass.cpp | |
parent | d3e121331bafa274b654bf2e1691cde628b7ff55 (diff) | |
download | bcm5719-llvm-b3fcc67f8f13cd95d36ed29d0ae1308decb9e099.tar.gz bcm5719-llvm-b3fcc67f8f13cd95d36ed29d0ae1308decb9e099.zip |
Allow libc++ to be built on systems without POSIX threads
If you're crazy enough to want this sort of thing, then add
-D_LIBCPP_HAS_NO_THREADS to your CXXFLAGS and
--param=additiona_features=libcpp-has-no-threads to your lit commnad line.
http://reviews.llvm.org/D3969
llvm-svn: 217271
Diffstat (limited to 'libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_load.pass.cpp')
-rw-r--r-- | libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_load.pass.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_load.pass.cpp b/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_load.pass.cpp index 49fd1b65641..566e95adec8 100644 --- a/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_load.pass.cpp +++ b/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_load.pass.cpp @@ -7,6 +7,8 @@ // //===----------------------------------------------------------------------===// // +// UNSUPPORTED: libcpp-has-no-threads +// // This test uses new symbols that were not defined in the libc++ shipped on // darwin11 and darwin12: // XFAIL: with_system_lib=x86_64-apple-darwin11 |