-
-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
patches/llvm-project/0001-llvm-jitlink-test-Add-an-XFAIL-for-a-JITLink-test-on.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
From 9600a7709045d796b48a49b5e6477d97a44849e2 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <[email protected]> | ||
Date: Fri, 23 Feb 2024 00:45:32 +0200 | ||
Subject: [PATCH] [llvm-jitlink] [test] Add an XFAIL for a JITLink test on | ||
MinGW | ||
|
||
This testcase fails on MinGW targets, because when compiling the | ||
main() function, it gets an implicit call to __main(), which is | ||
missing in this context. | ||
--- | ||
llvm/test/ExecutionEngine/JITLink/Generic/sectcreate.test | 7 ++++++- | ||
1 file changed, 6 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/llvm/test/ExecutionEngine/JITLink/Generic/sectcreate.test b/llvm/test/ExecutionEngine/JITLink/Generic/sectcreate.test | ||
index ec71011d545e..50585a2d02e9 100644 | ||
--- a/llvm/test/ExecutionEngine/JITLink/Generic/sectcreate.test | ||
+++ b/llvm/test/ExecutionEngine/JITLink/Generic/sectcreate.test | ||
@@ -8,4 +8,9 @@ | ||
# Jitlink does not support ARM64 COFF files. | ||
# UNSUPPORTED: target=aarch64-pc-windows-{{.*}} | ||
|
||
-# jitlink-check: *{4}foo = 0x2a2a5a5a | ||
\ No newline at end of file | ||
+# 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 | ||
+ | ||
+# jitlink-check: *{4}foo = 0x2a2a5a5a | ||
-- | ||
2.25.1 | ||
|