diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-15 23:07:20 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-15 23:07:20 +0000 |
commit | 6d6babf7457c8128072cb23f079123fa76cafc5b (patch) | |
tree | ed2cd8b75cc32562df363caeb645d7c5b8039048 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6a29ae4bde963b4f271bd9c0dfb0edd4c0de893c (diff) | |
download | llvm-6d6babf7457c8128072cb23f079123fa76cafc5b.zip llvm-6d6babf7457c8128072cb23f079123fa76cafc5b.tar.gz llvm-6d6babf7457c8128072cb23f079123fa76cafc5b.tar.bz2 |
[Support] Re-introduce the RWMutexImpl for macOS < 10.12
In r369018, Benjamin replaced the custom RWMutex implementation with
their C++14 counterpart. Unfortunately, std::shared_timed_mutex is only
available on macOS 10.12 and later. This prevents LLVM from compiling
even on newer versions of the OS when you have an older deployment
target. This patch reintroduced the old RWMutexImpl but guards it by the
macOS availability macro.
Differential revision: https://reviews.llvm.org/D66313
llvm-svn: 369064
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions