Files
clang-p2996/llvm/test/ExecutionEngine/JITLink/Generic/sectcreate.test
Douglas d822c099ee [JITLink] Use rsplit on -sectcreate argument in llvm-jitlink (#115511)
This accounts for cases where the file path may contain an `@` symbol.
In such cases, the split occurs too early causing argument parsing to
fail.
2024-11-10 19:19:02 +11:00

16 lines
549 B
Plaintext

# RUN: llc -filetype=obj -o %t.o %S/Inputs/main-ret-0.ll
# RUN: llvm-jitlink -noexec \
# RUN: -sectcreate __data,%S/Inputs/sect@create/sectcreate-data.txt@foo=0 \
# RUN: %t.o
#
# Use -sectcreate to create a section from a data file.
# 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