[llvm] 4c642b6 - [llvm-jitlink] [test] Add an XFAIL for a JITLink test on MinGW

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 1 02:16:53 PST 2024


Author: Martin Storsjö
Date: 2024-03-01T12:16:47+02:00
New Revision: 4c642b62b99fa128c180f28278637b32be5e5576

URL: https://github.com/llvm/llvm-project/commit/4c642b62b99fa128c180f28278637b32be5e5576
DIFF: https://github.com/llvm/llvm-project/commit/4c642b62b99fa128c180f28278637b32be5e5576.diff

LOG: [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.

Added: 
    

Modified: 
    llvm/test/ExecutionEngine/JITLink/Generic/sectcreate.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/ExecutionEngine/JITLink/Generic/sectcreate.test b/llvm/test/ExecutionEngine/JITLink/Generic/sectcreate.test
index ec71011d545ebd..c09513a7d3707c 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-{{.*}}
 
+# 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
\ No newline at end of file


        


More information about the llvm-commits mailing list