diff --git a/llvm/test/ExecutionEngine/JITLink/Generic/sectcreate.test b/llvm/test/ExecutionEngine/JITLink/Generic/sectcreate.test index ec71011d545eb..c09513a7d3707 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