llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_self_relocation_exec.test
Lang Hames 8ad75c1037 [JITLink][X86] Rename X86 test directory to x86-64, update test names.
Tests in test/ExecutionEngine/JITLink/X86 were for x86-64 only (never i386) so
it makes sense to name the test directory x86-64, and drop x86-64 from the
individual test names.
2023-04-15 18:39:12 +00:00

9 lines
350 B
Plaintext

# RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj -o %t %S/Inputs/MachO_self_relocation.s
# RUN: llvm-jitlink -show-graphs='.*' %t
# RUN: llvm-jitlink -show-graphs='.*' -add-self-relocations %t
# Ensure that the added relocation does not create an incorrect pointer.
# Execution test
# REQUIRES: system-darwin && native && target-x86_64