diff --git a/compiler-rt/test/ubsan/TestCases/Misc/monitor.cpp b/compiler-rt/test/ubsan/TestCases/Misc/monitor.cpp --- a/compiler-rt/test/ubsan/TestCases/Misc/monitor.cpp +++ b/compiler-rt/test/ubsan/TestCases/Misc/monitor.cpp @@ -4,7 +4,7 @@ // __ubsan_on_report is not defined as weak. Redefining it here isn't supported // on Windows. // -// UNSUPPORTED: target={{.*windows-msvc.*}} +// UNSUPPORTED: target={{.*windows.*}} // Linkage issue // XFAIL: target={{.*openbsd.*}} diff --git a/compiler-rt/test/ubsan/TestCases/TypeCheck/Function/function.cpp b/compiler-rt/test/ubsan/TestCases/TypeCheck/Function/function.cpp --- a/compiler-rt/test/ubsan/TestCases/TypeCheck/Function/function.cpp +++ b/compiler-rt/test/ubsan/TestCases/TypeCheck/Function/function.cpp @@ -4,7 +4,7 @@ // RUN: %run %t 2>&1 | FileCheck %s --check-prefix=CHECK $(%run %t-unique UNIQUE) // Verify that we can disable symbolization if needed: // RUN: %env_ubsan_opts=symbolize=0 %run %t 2>&1 | FileCheck %s --check-prefix=NOSYM $(%run %t-unique NOSYM-UNIQUE) -// XFAIL: target={{.*windows-msvc.*}} +// XFAIL: target={{.*windows.*}} // Unsupported function flag // UNSUPPORTED: target={{.*openbsd.*}} diff --git a/compiler-rt/test/ubsan/TestCases/TypeCheck/vptr-non-unique-typeinfo.cpp b/compiler-rt/test/ubsan/TestCases/TypeCheck/vptr-non-unique-typeinfo.cpp --- a/compiler-rt/test/ubsan/TestCases/TypeCheck/vptr-non-unique-typeinfo.cpp +++ b/compiler-rt/test/ubsan/TestCases/TypeCheck/vptr-non-unique-typeinfo.cpp @@ -3,7 +3,7 @@ // RUN: %run %t // // REQUIRES: cxxabi -// UNSUPPORTED: target={{.*windows-msvc.*}} +// UNSUPPORTED: target={{.*windows.*}} struct X { virtual ~X() {} diff --git a/compiler-rt/test/ubsan/TestCases/TypeCheck/vptr-virtual-base.cpp b/compiler-rt/test/ubsan/TestCases/TypeCheck/vptr-virtual-base.cpp --- a/compiler-rt/test/ubsan/TestCases/TypeCheck/vptr-virtual-base.cpp +++ b/compiler-rt/test/ubsan/TestCases/TypeCheck/vptr-virtual-base.cpp @@ -6,6 +6,8 @@ // UNSUPPORTED: target={{.*windows-msvc.*}} // Nested crash reported // UNSUPPORTED: target={{.*freebsd.*}} +// Itanium demangling isn't done for the type names. +// UNSUPPORTED: target={{.*windows-gnu.*}} struct S { virtual int f() { return 0; } }; struct T : virtual S {}; diff --git a/compiler-rt/test/ubsan/TestCases/TypeCheck/vptr.cpp b/compiler-rt/test/ubsan/TestCases/TypeCheck/vptr.cpp --- a/compiler-rt/test/ubsan/TestCases/TypeCheck/vptr.cpp +++ b/compiler-rt/test/ubsan/TestCases/TypeCheck/vptr.cpp @@ -44,6 +44,10 @@ // UNSUPPORTED: target={{.*openbsd.*}} // Compilation error // UNSUPPORTED: target={{.*freebsd.*}} +// For MinGW targets, the vptr tests do generally work, but Itanium demangling +// isn't done for the type names. The "(echo ..." line fails to be handled by +// the shell. +// UNSUPPORTED: target={{.*windows-gnu.*}} #include #include #include