Skip to content

Commit 4c642b6

Browse files
committed
[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.
1 parent 44c0bdb commit 4c642b6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,9 @@
88
# Jitlink does not support ARM64 COFF files.
99
# UNSUPPORTED: target=aarch64-pc-windows-{{.*}}
1010

11+
# On MinGW targets, when compiling the main() function, it gets
12+
# an implicitly generated call to __main(), which is missing in
13+
# this context.
14+
# XFAIL: target={{.*}}-windows-gnu
15+
1116
# jitlink-check: *{4}foo = 0x2a2a5a5a

0 commit comments

Comments
 (0)