[libcxx-commits] [PATCH] D60743: Allow building without threads in standalone builds

Matthew Bauer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 16 14:40:06 PDT 2019


matthewbauer added a comment.

In D60743#1469145 <https://reviews.llvm.org/D60743#1469145>, @mclow.lists wrote:

> Why is this necessary? I just grepped the libc++abi sources, and I see no only two references to `_LIBCPP_HAS_NO_THREADS`, and they're both in comments (which should be fixed, btw, but that's neither here nor there).


libcxx headers are included by libcxxabi via LIBCXXABI_LIBCXX_INCLUDES. For instance "src/include/atomic_support.h" includes "__config" header here:

https://github.com/llvm-mirror/libcxxabi/blob/master/src/include/atomic_support.h#L16


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60743/new/

https://reviews.llvm.org/D60743





More information about the libcxx-commits mailing list