aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMarkus Mützel <markus.muetzel@gmx.de>2022-06-10 08:31:42 +0000
committerDiana Picus <diana.picus@linaro.org>2022-06-10 11:25:45 +0000
commit99fe38a13a2d111fbb0b7848415d4ba3cab11437 (patch)
treee1e24fc648cc1e3ad4abc587ff77eee143fbc7f1 /clang/lib/Frontend/CompilerInvocation.cpp
parent4c38953f32f29a0cd3b8b9d9ae894bb49d3cd44b (diff)
downloadllvm-99fe38a13a2d111fbb0b7848415d4ba3cab11437.zip
llvm-99fe38a13a2d111fbb0b7848415d4ba3cab11437.tar.gz
llvm-99fe38a13a2d111fbb0b7848415d4ba3cab11437.tar.bz2
[flang][runtime] Remove dependency on C++ <mutex> on Windows
The implementation of the Lock class on Windows currently uses C++ mutexes. That introduces a dependency on the C++ runtime on that platform. Use a Windows CriticalSection instead of a std::mutex to avoid that dependency. This works for me with MinGW (tested in a CLANG64 environment of MSYS2). See also D126291. Differential Revision: https://reviews.llvm.org/D127316
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions