Files
clang-p2996/llvm/test/ExecutionEngine/JITLink/Generic/MachO_universal_binaries.test
Lang Hames 224b280043 [ORC] Gate testcase for 3e1d4ec671 on x86-64 and aarch64 target support.
The testcase requires both of these targets.
2024-08-16 10:53:47 +10:00

12 lines
528 B
Plaintext

# RUN: llc -filetype=obj -mtriple x86_64-apple-macosx -o %t.x86-64.o \
# RUN: %S/Inputs/main-ret-0.ll
# RUN: llc -filetype=obj -mtriple arm64-apple-macosx -o %t.arm64.o \
# RUN: %S/Inputs/main-ret-0.ll
# RUN: llvm-lipo -create -output %t.universal.o -arch x86_64 %t.x86-64.o \
# RUN: -arch arm64 %t.arm64.o
# RUN: llvm-jitlink -noexec -triple arm64-apple-macosx %t.universal.o
#
# REQUIRES: x86-registered-target && aarch64-registered-target
#
# Check that universal binaries don't raise "not a valid object file" errors.