summaryrefslogtreecommitdiff
path: root/libcxxabi
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2023-04-03 15:52:46 +0300
committerMartin Storsjö <martin@martin.st>2023-04-11 00:01:38 +0300
commit7f00b2aa75f0f090c37bf9d5ccb55fca15c35538 (patch)
tree4f5bd83373ef7256c3843db981f8b61dfc72db5f /libcxxabi
parent11ed806e7fdb1df74bba727165e68d675bbaa5e1 (diff)
downloadllvm-7f00b2aa75f0f090c37bf9d5ccb55fca15c35538.tar.gz
[libcxxabi] [test] Mark thread_local_destruction_order.pass.cpp unsupported for mingw targets
With current versions of mingw-w64, TLS destructors that are registered while executing TLS destructors are lost and leaked. The root cause does get fixed further upstream in mingw-w64 in https://github.com/mingw-w64/mingw-w64/commit/71eddccd746c56d9cde28bb5620d027d49259de9 though, but mark the test as unsupported for now. The marking can be removed later when the version used in the CI runner has been updated to include the fix. Differential Revision: https://reviews.llvm.org/D147859
Diffstat (limited to 'libcxxabi')
-rw-r--r--libcxxabi/test/thread_local_destruction_order.pass.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/libcxxabi/test/thread_local_destruction_order.pass.cpp b/libcxxabi/test/thread_local_destruction_order.pass.cpp
index 9daf966c209c..c7e7717d6f04 100644
--- a/libcxxabi/test/thread_local_destruction_order.pass.cpp
+++ b/libcxxabi/test/thread_local_destruction_order.pass.cpp
@@ -11,6 +11,13 @@
// XFAIL: LIBCXX-FREEBSD-FIXME
+// TODO: This test does start working with newer updates of the mingw-w64
+// toolchain, when it includes the following commit:
+// https://github.com/mingw-w64/mingw-w64/commit/71eddccd746c56d9cde28bb5620d027d49259de9
+// Thus, remove this UNSUPPORTED marking after the next update of the CI
+// toolchain.
+// UNSUPPORTED: target={{.*-windows-gnu}}
+
#include <cassert>
#include <thread>