[compiler-rt] [test] [ubsan] Mark failing tests as unsupported for mingw configs
authorMartin Storsjö <martin@martin.st>
Wed, 12 Apr 2023 09:12:28 +0000 (09:12 +0000)
committerMartin Storsjö <martin@martin.st>
Wed, 19 Apr 2023 20:05:30 +0000 (23:05 +0300)
commitba148a1c86775bf6e6ab14c65011acc6555ef11e
treeeb4f6052ace1c3e42bd3994a0427261e5ca74b38
parent782c59a4eef0bca8546b0cfbb1e48a9fcd044c93
[compiler-rt] [test] [ubsan] Mark failing tests as unsupported for mingw configs

All of these are already unsupported for MSVC style configs. For
some cases, simplify the regex to match any windows triple, while
for others, mention windows-msvc and windows-gnu specifically,
if they are separate cases that happen to fail for different reasons.

-fsanitize=function is unsupported both in mingw and MSVC modes.

The vptr tests expect to get demangled C++ type info names, but
Itanium C++ typenames don't get demangled by ubsan on Windows.

The test that tries to build a .so doesn't work as such on
Windows.

While mingw toolchains do support weak symbols, the relevant
sanitizer symbols aren't made weak on Windows.

Differential Revision: https://reviews.llvm.org/D148163
compiler-rt/test/ubsan/TestCases/Misc/monitor.cpp
compiler-rt/test/ubsan/TestCases/TypeCheck/Function/function.cpp
compiler-rt/test/ubsan/TestCases/TypeCheck/vptr-non-unique-typeinfo.cpp
compiler-rt/test/ubsan/TestCases/TypeCheck/vptr-virtual-base.cpp
compiler-rt/test/ubsan/TestCases/TypeCheck/vptr.cpp