2019-12-17 08:46:41 +08:00
|
|
|
// RUN: touch %t.o
|
|
|
|
|
2020-02-27 20:48:26 +08:00
|
|
|
// RUN: %clang -target arm64-apple-tvos12.3 -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=0 -### %t.o 2>&1 \
|
|
|
|
// RUN: | FileCheck --check-prefix=LINKER-OLD %s
|
|
|
|
// RUN: %clang -target arm64-apple-tvos12.3 -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=400 -### %t.o 2>&1 \
|
|
|
|
// RUN: | FileCheck --check-prefix=LINKER-OLD %s
|
2019-12-18 06:24:23 +08:00
|
|
|
// RUN: %clang -target arm64-apple-tvos12.3 -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=520 -### %t.o 2>&1 \
|
2020-02-27 20:48:26 +08:00
|
|
|
// RUN: | FileCheck --check-prefix=LINKER-NEW %s
|
2019-12-18 06:24:23 +08:00
|
|
|
// RUN: %clang -target x86_64-apple-tvos13-simulator -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=520 -### %t.o 2>&1 \
|
2019-12-17 08:46:41 +08:00
|
|
|
// RUN: | FileCheck --check-prefix=SIMUL %s
|
|
|
|
|
2020-02-27 20:48:26 +08:00
|
|
|
// LINKER-OLD: "-tvos_version_min" "12.3.0"
|
|
|
|
// LINKER-NEW: "-platform_version" "tvos" "12.3.0" "13.0"
|
2019-12-17 08:46:41 +08:00
|
|
|
// SIMUL: "-platform_version" "tvos-simulator" "13.0.0" "13.0"
|