[compiler-rt] [test] [profile] Mark the without-libc test as unsupported on mingw
authorMartin Storsjö <martin@martin.st>
Wed, 12 Apr 2023 11:39:33 +0000 (11:39 +0000)
committerMartin Storsjö <martin@martin.st>
Thu, 13 Apr 2023 09:03:34 +0000 (12:03 +0300)
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

index b7f7a1e..3142138 100644 (file)
@@ -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 <stdint.h>
 #include <stdlib.h>