[libcxx-commits] [PATCH] D112214: [libcxx] [test] Add a specific XFAIL for a MinGW env failure that is fixed in Clang 14

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 21 13:30:38 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG6836629f8891: [libcxx] [test] Add a specific XFAIL for a MinGW env failure that is fixed in… (authored by mstorsjo).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112214/new/

https://reviews.llvm.org/D112214

Files:
  libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp


Index: libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp
===================================================================
--- libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp
+++ libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp
@@ -16,6 +16,12 @@
 
 // UNSUPPORTED: sanitizer-new-delete
 
+// This fails on MinGW when statically linked, if built with Clang 13 or older.
+// (It's fixed in the upcoming Clang 14, by https://reviews.llvm.org/D109651.)
+// Prior to the fix, when statically linked, the unwind info for the two
+// (default and overridden) operator new implementations clash.
+// XFAIL: target={{.+}}-windows-gnu && !windows-dll && clang-13
+
 #include <thread>
 #include <new>
 #include <atomic>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112214.381375.patch
Type: text/x-patch
Size: 835 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211021/d7a8b426/attachment.bin>


More information about the libcxx-commits mailing list