Skip to content

Commit

Permalink
[llvm-jitlink] [test] Add an XFAIL for a JITLink test on MinGW
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mstorsjo committed Mar 1, 2024
1 parent 44c0bdb commit 4c642b6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions llvm/test/ExecutionEngine/JITLink/Generic/sectcreate.test
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4c642b6

Please sign in to comment.