File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: touch %t.o
2
2
3
- // RUN: %clang -target arm64-apple-ios12.3 -isysroot %S/Inputs/iPhoneOS13.0.sdk -### %t.o 2>&1 \
3
+ // RUN: %clang -target arm64-apple-ios12.3 -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=520 - ### %t.o 2>&1 \
4
4
// RUN: | FileCheck %s
5
- // RUN: %clang -target x86_64-apple-ios13-simulator -isysroot %S/Inputs/iPhoneOS13.0.sdk -### %t.o 2>&1 \
5
+ // RUN: %clang -target x86_64-apple-ios13-simulator -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=520 - ### %t.o 2>&1 \
6
6
// RUN: | FileCheck --check-prefix=SIMUL %s
7
7
8
8
// CHECK: "-platform_version" "ios" "12.3.0" "13.0"
Original file line number Diff line number Diff line change 1
1
// RUN: touch %t.o
2
2
3
- // RUN: %clang -target x86_64-apple-macos10.13 -isysroot %S/Inputs/MacOSX10.14.sdk -### %t.o 2>&1 \
3
+ // RUN: %clang -target x86_64-apple-macos10.13 -isysroot %S/Inputs/MacOSX10.14.sdk -mlinker-version=0 - ### %t.o 2>&1 \
4
4
// RUN: | FileCheck %s
5
5
// RUN: env SDKROOT=%S/Inputs/MacOSX10.14.sdk %clang -target x86_64-apple-macos10.13.0.1 -mlinker-version=520 -### %t.o 2>&1 \
6
6
// RUN: | FileCheck %s
7
7
8
8
// CHECK: "-platform_version" "macos" "10.13.0" "10.14"
9
9
10
- // RUN: %clang -target x86_64-apple-macos10.13 -### %t.o 2>&1 \
10
+ // RUN: %clang -target x86_64-apple-macos10.13 -mlinker-version=520 -### %t.o 2>&1 \
11
11
// RUN: | FileCheck --check-prefix=NOSDK %s
12
12
// NOSDK: "-platform_version" "macos" "10.13.0" "0.0.0"
Original file line number Diff line number Diff line change 1
1
// RUN: touch %t.o
2
2
3
- // RUN: %clang -target arm64-apple-tvos12.3 -isysroot %S/Inputs/iPhoneOS13.0.sdk -### %t.o 2>&1 \
3
+ // RUN: %clang -target arm64-apple-tvos12.3 -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=520 - ### %t.o 2>&1 \
4
4
// RUN: | FileCheck %s
5
- // RUN: %clang -target x86_64-apple-tvos13-simulator -isysroot %S/Inputs/iPhoneOS13.0.sdk -### %t.o 2>&1 \
5
+ // RUN: %clang -target x86_64-apple-tvos13-simulator -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=520 - ### %t.o 2>&1 \
6
6
// RUN: | FileCheck --check-prefix=SIMUL %s
7
7
8
8
// CHECK: "-platform_version" "tvos" "12.3.0" "13.0"
Original file line number Diff line number Diff line change 1
1
// RUN: touch %t.o
2
2
3
- // RUN: %clang -target arm64_32-apple-watchos5.2 -isysroot %S/Inputs/WatchOS6.0.sdk -### %t.o 2>&1 \
3
+ // RUN: %clang -target arm64_32-apple-watchos5.2 -isysroot %S/Inputs/WatchOS6.0.sdk -mlinker-version=520 - ### %t.o 2>&1 \
4
4
// RUN: | FileCheck %s
5
- // RUN: %clang -target x86_64-apple-watchos6-simulator -isysroot %S/Inputs/WatchOS6.0.sdk -### %t.o 2>&1 \
5
+ // RUN: %clang -target x86_64-apple-watchos6-simulator -isysroot %S/Inputs/WatchOS6.0.sdk -mlinker-version=520 - ### %t.o 2>&1 \
6
6
// RUN: | FileCheck --check-prefix=SIMUL %s
7
7
8
8
// CHECK: "-platform_version" "watchos" "5.2.0" "6.0.0"
You can’t perform that action at this time.
0 commit comments