Files
clang-p2996/llvm/test/tools/lto/no-bitcode.s
Daniel Bertalan 77a074be52 [LTO] Fix tests with ld64 from Xcode 16 (#97193)
ld64 tests now fail with the following error if the target platform
(e.g. `-macosx_version_min`) is not specified:

```
warning: platform not specified
warning: No platform min-version specified on command line
kernelKit can only be used with -r, -kext and -static
```
2024-07-01 07:47:53 +02:00

6 lines
320 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 -macosx_version_min 10.14.0 -dylib -mllvm -O0 -o %t.dylib %t.a -lSystem