llvm-for-llvmta/test/tools/lto/no-bitcode.s

6 lines
283 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
; REQUIRES: aarch64-registered-target
; libLTO.dylib shouldn't assert on invalid inputs.
; RUN: llvm-mc -triple=arm64-apple-ios7.0.0 -filetype=obj -o %t.o
; RUN: llvm-ar r %t.a %t.o
; RUN: %ld64 -lto_library %llvmshlibdir/libLTO.dylib -arch x86_64 -dylib -mllvm -O0 -o %t.dylib %t.a