diff options
author | Asiri Rathnayake <asiri.rathnayake@arm.com> | 2017-01-03 11:32:31 +0000 |
---|---|---|
committer | Asiri Rathnayake <asiri.rathnayake@arm.com> | 2017-01-03 11:32:31 +0000 |
commit | 6cb0d41cc844c6f996c98182fa2558458075b3a0 (patch) | |
tree | 81e009c9a2699fd574f68038c05d9660c0c1b837 /clang/lib/Sema/SemaCodeComplete.cpp | |
parent | c8466671e169dac35e357ef99703214fba40dabd (diff) | |
download | llvm-6cb0d41cc844c6f996c98182fa2558458075b3a0.zip llvm-6cb0d41cc844c6f996c98182fa2558458075b3a0.tar.gz llvm-6cb0d41cc844c6f996c98182fa2558458075b3a0.tar.bz2 |
[libcxx] Fix testing of the externally-threaded library build
after r290850
Before r290850, building libcxx with -DLIBCXX_HAS_EXTERNAL_THREAD_API=ON had two
uses:
- Allow platform vendors to plug-in an __external_threading header which
should take care of the entire threading infrastructure of libcxx
- Allow testing of an externally-threaded library build; where the thread API
is declared using pthread data structures, and the implementation of this
API is provided as a separate library (test/support/external_threads.cpp)
and linked-in when running the test suite.
r290850 breaks the second use case (pthread data structures are no longer
available). This patch re-stores the ability to build+test an
externally-threaded library variant on a pthread based system.
llvm-svn: 290878
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions