diff options
| author | Asiri Rathnayake <asiri.rathnayake@arm.com> | 2016-10-14 13:00:07 +0000 |
|---|---|---|
| committer | Asiri Rathnayake <asiri.rathnayake@arm.com> | 2016-10-14 13:00:07 +0000 |
| commit | 81c0be3f561b1db2947dd2ff84059a25a43bf71b (patch) | |
| tree | 82eec2752f7d8551c513952bf2d5f20905e4f55d /llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp | |
| parent | 4b7bb3cc96ac68691f6423cebd6482bfdde03735 (diff) | |
| download | bcm5719-llvm-81c0be3f561b1db2947dd2ff84059a25a43bf71b.tar.gz bcm5719-llvm-81c0be3f561b1db2947dd2ff84059a25a43bf71b.zip | |
[libcxx] Do not declare the thread api when __external_threading is present
This fixes a small omission where even when __external_threading is provided,
we attempt to declare a pthread based threading API. Instead, we should leave
out everything for the __external_threading header to take care of.
The __threading_support header provides a proof-of-concept externally threaded
libc++ variant when _LIBCPP_HAS_THREAD_API_EXTERNAL is defined. But if the
__external_threading header is present, we should exclude all of that POC stuff.
Reviewers: EricWF
Differential revision: https://reviews.llvm.org/D25468
llvm-svn: 284232
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp')
0 files changed, 0 insertions, 0 deletions

