1; REQUIRES: aarch64-registered-target 2; libLTO.dylib shouldn't assert on invalid inputs. 3; RUN: llvm-mc -triple=arm64-apple-ios7.0.0 -filetype=obj -o %t.o 4; RUN: llvm-ar r %t.a %t.o 5; RUN: %ld64 -lto_library %llvmshlibdir/libLTO.dylib -arch x86_64 -dylib -mllvm -O0 -o %t.dylib %t.a 6