aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/MetadataLoader.cpp
diff options
context:
space:
mode:
authorMarkus Böck <markus.boeck02@gmail.com>2021-03-05 15:30:13 +0100
committerMarkus Böck <markus.boeck02@gmail.com>2021-03-05 15:30:13 +0100
commit05b3716ddbd536c130caa79cf8486f62548f05fc (patch)
tree6b02cb9c0c8508a4d343baa005dc996efb6b900c /llvm/lib/Bitcode/Reader/MetadataLoader.cpp
parentafa76fe67a42f6d40d83a4f7d0cb03373045f3f4 (diff)
downloadllvm-05b3716ddbd536c130caa79cf8486f62548f05fc.zip
llvm-05b3716ddbd536c130caa79cf8486f62548f05fc.tar.gz
llvm-05b3716ddbd536c130caa79cf8486f62548f05fc.tar.bz2
[libcxxabi] Add LIBCXXABI_HAS_WIN32_THREAD_API build option
A few files in libc++abi make use of libc++ headers and a few of those use threading primitives provided by libc++. Since libc++ has multiple threading APIs it may be necessary to override auto-detection. This patch adds the LIBCXXABI_HAS_WIN32_THREAD_API which does roughly the same as LIBCXXABI_HAS_PTHREAD_API and the similarly named LIBCXX_HAS_WIN32_THREAD_API from libc++. Instead of using autodetection it will force the use of win32 threads instead of pthreads in headers included from libc++. Without this patch, libc++abi may depend on pthreads if present on the users build environment, even if win32 threading was selected for libc++. Differential revision: https://reviews.llvm.org/D98021
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions