[llvm] [JITLink] [test] Extend preexisting MinGW XFAILs to new tests (PR #142375)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 2 05:29:54 PDT 2025


https://github.com/mstorsjo created https://github.com/llvm/llvm-project/pull/142375

This extends the preexisting XFAILs from
4c642b62b99fa128c180f28278637b32be5e5576 to these new tests from 6fa8657a622173c177d863b763550de4d388f73c.

>From 783b7f804924e1b287e55f49b11fc9531373dc24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <martin at martin.st>
Date: Mon, 2 Jun 2025 12:02:49 +0000
Subject: [PATCH] [JITLink] [test] Extend preexisting MinGW XFAILs to new tests

This extends the preexisting XFAILs from
4c642b62b99fa128c180f28278637b32be5e5576 to these new tests from
6fa8657a622173c177d863b763550de4d388f73c.
---
 ...ad-multifile-archive-with-duplicate-member-filenames.test | 5 +++++
 .../JITLink/Generic/all-load-multifile-archive.test          | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/llvm/test/ExecutionEngine/JITLink/Generic/all-load-multifile-archive-with-duplicate-member-filenames.test b/llvm/test/ExecutionEngine/JITLink/Generic/all-load-multifile-archive-with-duplicate-member-filenames.test
index 1102339a411c1..02778d4025922 100644
--- a/llvm/test/ExecutionEngine/JITLink/Generic/all-load-multifile-archive-with-duplicate-member-filenames.test
+++ b/llvm/test/ExecutionEngine/JITLink/Generic/all-load-multifile-archive-with-duplicate-member-filenames.test
@@ -10,6 +10,11 @@
 # FIXME: Enable this test on Windows/arm64 once that backend is available.
 # UNSUPPORTED: target=aarch64-pc-windows-{{.*}}
 #
+# On MinGW targets, when compiling the main() function, it gets
+# an implicitly generated call to __main(), which is missing in
+# this context.
+# XFAIL: target={{.*}}-windows-gnu
+#
 # Check that synthesized archive member names are unambiguous, even if an
 # archive contains multiple files with the same name.
 #
diff --git a/llvm/test/ExecutionEngine/JITLink/Generic/all-load-multifile-archive.test b/llvm/test/ExecutionEngine/JITLink/Generic/all-load-multifile-archive.test
index 22c60eb6ac140..f162af5a204af 100644
--- a/llvm/test/ExecutionEngine/JITLink/Generic/all-load-multifile-archive.test
+++ b/llvm/test/ExecutionEngine/JITLink/Generic/all-load-multifile-archive.test
@@ -9,6 +9,11 @@
 # FIXME: Enable this test on Windows/arm64 once that backend is available.
 # UNSUPPORTED: target=aarch64-pc-windows-{{.*}}
 #
+# On MinGW targets, when compiling the main() function, it gets
+# an implicitly generated call to __main(), which is missing in
+# this context.
+# XFAIL: target={{.*}}-windows-gnu
+#
 # Check that the llvm-jitlink -all-load option loads all members of
 # multi-file archives.
 #



More information about the llvm-commits mailing list