1# RUN: llc -filetype=obj -o %t.o %S/Inputs/main-ret-0.ll 2# RUN: llvm-jitlink -noexec \ 3# RUN: -sectcreate __data,%S/Inputs/sect@create/sectcreate-data.txt@foo=0 \ 4# RUN: %t.o 5# 6# Use -sectcreate to create a section from a data file. 7 8# Jitlink does not support ARM64 COFF files. 9# UNSUPPORTED: target=aarch64-pc-windows-{{.*}} 10 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 16# jitlink-check: *{4}foo = 0x2a2a5a5a