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

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


Author: Martin Storsjö
Date: 2021-10-21T23:29:54+03:00
New Revision: 6836629f889194202da28b745e82d0931d000a2b

URL: https://github.com/llvm/llvm-project/commit/6836629f889194202da28b745e82d0931d000a2b
DIFF: https://github.com/llvm/llvm-project/commit/6836629f889194202da28b745e82d0931d000a2b.diff

LOG: [libcxx] [test] Add a specific XFAIL for a MinGW env failure that is fixed in Clang 14

This issue only occurs when linked statically in MinGW configurations,
and has been fixed for Clang 14 by https://reviews.llvm.org/D109651.

Differential Revision: https://reviews.llvm.org/D112214

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp b/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp
index b5f38478ca70c..8cd4022724316 100644
--- a/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp
+++ b/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>


        


More information about the libcxx-commits mailing list