mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 19:45:40 -04:00

The driver actually adds a default -mlinker-version, based on HOST_LINK_VERSION cmake variable. The tests should be explicit about which version they're using to trigger the right behavior.
10 lines
451 B
C
10 lines
451 B
C
// RUN: touch %t.o
|
|
|
|
// RUN: %clang -target arm64-apple-ios12.3 -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=520 -### %t.o 2>&1 \
|
|
// RUN: | FileCheck %s
|
|
// RUN: %clang -target x86_64-apple-ios13-simulator -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=520 -### %t.o 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=SIMUL %s
|
|
|
|
// CHECK: "-platform_version" "ios" "12.3.0" "13.0"
|
|
// SIMUL: "-platform_version" "ios-simulator" "13.0.0" "13.0"
|