150
|
1 // RUN: touch %t.o
|
|
2
|
221
|
3 // RUN: %clang -target arm64-apple-tvos12.3 -fuse-ld= \
|
|
4 // RUN: -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=400 \
|
|
5 // RUN: -### %t.o 2>&1 \
|
173
|
6 // RUN: | FileCheck --check-prefix=LINKER-OLD %s
|
221
|
7 // RUN: %clang -target arm64-apple-tvos12.3 -fuse-ld=lld \
|
|
8 // RUN: -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=0 \
|
|
9 // RUN: -### %t.o -B%S/Inputs/lld 2>&1 \
|
173
|
10 // RUN: | FileCheck --check-prefix=LINKER-NEW %s
|
221
|
11 // RUN: %clang -target arm64-apple-tvos12.3 -fuse-ld= \
|
|
12 // RUN: -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=520 \
|
|
13 // RUN: -### %t.o 2>&1 \
|
|
14 // RUN: | FileCheck --check-prefix=LINKER-NEW %s
|
|
15 // RUN: %clang -target x86_64-apple-tvos13-simulator -fuse-ld= \
|
|
16 // RUN: -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=520 \
|
|
17 // RUN: -### %t.o 2>&1 \
|
150
|
18 // RUN: | FileCheck --check-prefix=SIMUL %s
|
|
19
|
173
|
20 // LINKER-OLD: "-tvos_version_min" "12.3.0"
|
|
21 // LINKER-NEW: "-platform_version" "tvos" "12.3.0" "13.0"
|
150
|
22 // SIMUL: "-platform_version" "tvos-simulator" "13.0.0" "13.0"
|