From d846a15025eba77cd0c7e39335ac8c16fbc3152a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20Storsj=C3=B6?= Date: Wed, 12 Apr 2023 11:39:33 +0000 Subject: [PATCH] [compiler-rt] [test] [profile] Mark the without-libc test as unsupported on mingw Mingw toolchains always end up referencing the malloc symbol due to the CRT startup files. Differential Revision: https://reviews.llvm.org/D148166 --- compiler-rt/test/profile/instrprof-without-libc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compiler-rt/test/profile/instrprof-without-libc.c b/compiler-rt/test/profile/instrprof-without-libc.c index b7f7a1e..3142138 100644 --- a/compiler-rt/test/profile/instrprof-without-libc.c +++ b/compiler-rt/test/profile/instrprof-without-libc.c @@ -9,6 +9,9 @@ // an MSVC environment, so we can't make this test portable. // UNSUPPORTED: target={{.*msvc.*}} +// The MinGW CRT init files do reference malloc etc, so this test fails. +// UNSUPPORTED: target={{.*windows-gnu.*}} + #include #include -- 2.7.4