mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
f17f759d9f
Since Xcode 13, ld64 requires linking libSystem for all the executable. Fix the tests that needs to run ld64 by linking libSystem from sysroot. rdar://77332728 Reviewed By: fhahn Differential Revision: https://reviews.llvm.org/D104332
6 lines
292 B
ArmAsm
6 lines
292 B
ArmAsm
; 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 -lSystem
|