File tree 2 files changed +15
-7
lines changed
2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change
1
+ // UNSUPPORTED: xcselect
2
+ // CLANG_USE_XCSELECT will always have an SDK inferred.
3
+
4
+ // RUN: touch %t.o
5
+
6
+ // RUN: %clang -target x86_64-apple-macos10.13 -mlinker-version=520 \
7
+ // RUN: -### %t.o 2>&1 \
8
+ // RUN: | FileCheck --check-prefix=NOSDK %s
9
+ // RUN: %clang -target x86_64-apple-darwin17 -mlinker-version=520 \
10
+ // RUN: -### %t.o 2>&1 \
11
+ // RUN: | FileCheck --check-prefix=NOSDK %s
12
+ // NOSDK: "-platform_version" "macos" "10.13.0" "10.13.0"
Original file line number Diff line number Diff line change 1
- // XFAIL: xcselect
2
- // FIXME: There's no reason why this should fail with CLANG_USE_XCSELECT.
3
- // See https://github.com/llvm/llvm-project/pull/119670.
4
-
5
1
// RUN: touch %t.o
6
2
7
3
// RUN: %clang -target x86_64-apple-macos10.13 -fuse-ld=lld \
47
43
48
44
// RUN: %clang -target x86_64-apple-macos10.13 -mlinker-version=520 \
49
45
// RUN: -### %t.o 2>&1 \
50
- // RUN: | FileCheck --check-prefix=NOSDK %s
46
+ // RUN: | FileCheck --check-prefix=INFERRED-SDK %s
51
47
// RUN: %clang -target x86_64-apple-darwin17 -mlinker-version=520 \
52
48
// RUN: -### %t.o 2>&1 \
53
- // RUN: | FileCheck --check-prefix=NOSDK %s
54
- // NOSDK : "-platform_version" "macos" "10.13.0" "10.13.0 "
49
+ // RUN: | FileCheck --check-prefix=INFERRED-SDK %s
50
+ // INFERRED-SDK : "-platform_version" "macos" "10.13.0" "{{[0-9]+(\.[0-9]+)*}} "
You can’t perform that action at this time.
0 commit comments