These were omitted in all Windows configurations, but it turns out
that they work just fine in MinGW mode.
This allows converting a couple cases of "XFAIL: LIBCXX-WINDOWS-FIXME"
into "XFAIL: msvc" as the bug is specific to MSVC mode (clang-cl).
Paths
| Differential D118192
[libcxx] Allow using thread safety annotations in MinGW mode ClosedPublic Authored by mstorsjo on Jan 25 2022, 2:05 PM.
Details
Summary These were omitted in all Windows configurations, but it turns out This allows converting a couple cases of "XFAIL: LIBCXX-WINDOWS-FIXME"
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 27 2022, 2:00 PM Closed by commit rGde5d38ef2de6: [libcxx] Allow using thread safety annotations in MinGW mode (authored by mstorsjo). · Explain WhyJan 28 2022, 1:22 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 403035 libcxx/include/__config
libcxx/test/libcxx/thread/thread.mutex/thread_safety_lock_guard.pass.cpp
libcxx/test/libcxx/thread/thread.mutex/thread_safety_lock_unlock.pass.cpp
libcxx/test/libcxx/thread/thread.mutex/thread_safety_missing_unlock.fail.cpp
libcxx/test/libcxx/thread/thread.mutex/thread_safety_requires_capability.pass.cpp
|