/llvm-project/clang/test/SemaObjC/ |
H A D | unguarded-availability.m | 4 #define AVAILABLE_10_0 __attribute__((availability(macos, introduced = 10.0))) 5 #define AVAILABLE_10_11 __attribute__((availability(macos, introduced = 10.11))) 6 #define AVAILABLE_10_12 __attribute__((availability(macos, introduced = 10.12))) 8 …{'new_int' has been marked as being introduced in macOS 10.12 here, but the deployment target is m… 10 …unc_10_11' has been marked as being introduced in macOS 10.11 here, but the deployment target is m… 13 …unc_10_12' has been marked as being introduced in macOS 10.12 here, but the deployment target is m… 15 …unc_10_12' has been marked as being introduced in macOS 10.12 here, but the deployment target is m… 20 …func_10_11(); // expected-warning{{'func_10_11' is only available on macOS 10.11 or newer}} expect… 22 if (@available(macos 10.11, *)) 25 …func_10_11(); // expected-warning{{'func_10_11' is only available on macOS 10.11 or newer}} expect… [all …]
|
H A D | attr-availability.m | 8 …oto_method' has been marked as being introduced in macOS 10.8 here, but the deployment target is m… 16 …tialMethod' has been marked as being introduced in macOS 10.8 here, but the deployment target is m… 32 …/ expected-warning{{overriding method introduced after overridden method on macOS (10.4 vs. 10.3)}} 35 … expected-warning{{overriding method deprecated before overridden method on macOS (10.3 vs. 10.2)}} 37 …lable))); // expected-warning{{overriding method cannot be unavailable on macOS when its overridde… 42 [a method]; // expected-warning{{'method' is deprecated: first deprecated in macOS 10.2}} 44 …[a proto_method]; // expected-warning{{'proto_method' is deprecated: first deprecated in macOS 10.… 45 …[b proto_method]; // expected-warning{{'proto_method' is deprecated: first deprecated in macOS 10.… 48 …// expected-warning@+2 {{'partialMethod' is only available on macOS 10.8 or newer}} expected-note@… 53 …// expected-warning@+2 {{'partial_proto_method' is only available on macOS 10.8 or newer}} expecte… [all …]
|
/llvm-project/lld/test/MachO/Inputs/MacOSX.sdk/usr/lib/ |
H A D | libSystem.tbd | 3 targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos ] 5 - target: x86_64-macos 9 - target: arm64-macos 14 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos ] 20 targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos ] 22 - target: x86_64-macos 26 - target: arm64-macos 31 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos ] 34 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos ] 38 targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos ] [all …]
|
/llvm-project/llvm/test/CodeGen/X86/ |
H A D | xray-log-args.ll | 4 ; RUN: llc -mtriple=x86_64-darwin-unknown < %s | FileCheck %s --check-prefixes=CHECK,CHECK-MACOS 28 ; CHECK-MACOS-LABEL: lxray_sleds_start0: 29 ; CHECK-MACOS-NEXT: [[TMP:Ltmp[0-9]+]]: 30 ; CHECK-MACOS-NEXT: .quad Lxray_sled_0-[[TMP]] 31 ; CHECK-MACOS-NEXT: .quad Lfunc_begin0-([[TMP]]+8) 32 ; CHECK-MACOS-NEXT: .byte 0x03 33 ; CHECK-MACOS-NEXT: .byte 0x01 34 ; CHECK-MACOS-NEXT: .byte 0x02 35 ; CHECK-MACOS: .space 13 36 ; CHECK-MACOS: [[TMP:Ltmp[0-9]+]]: [all …]
|
H A D | xray-tail-call-sled.ll | 2 ; RUN: llc -mtriple=x86_64-darwin-unknown < %s | FileCheck %s --check-prefixes=CHECK,CHECK-MACOS 26 ; CHECK-MACOS-LABEL: .section __DATA,xray_instr_map,regular,live_support{{$}} 27 ; CHECK-MACOS-LABEL: lxray_sleds_start0: 28 ; CHECK-MACOS: .quad Lxray_sled_0 29 ; CHECK-MACOS: .quad Lxray_sled_1 30 ; CHECK-MACOS-LABEL: Lxray_sleds_end0: 31 ; CHECK-MACOS-LABEL: .section __DATA,xray_fn_idx,regular,live_support{{$}} 32 ; CHECK-MACOS: [[IDX:lxray_fn_idx[0-9]+]]: 33 ; CHECK-MACOS-NEXT: .quad lxray_sleds_start0-[[IDX]] 34 ; CHECK-MACOS [all...] |
H A D | xray-attribute-instrumentation.ll | 3 ; RUN: llc -mtriple=x86_64-darwin-unknown < %s | FileCheck %s --check-prefixes=CHECK,CHECK-MACOS 27 ; CHECK-MACOS-LABEL: .section __DATA,xray_instr_map,regular,live_support{{$}} 28 ; CHECK-MACOS-LABEL: lxray_sleds_start0: 29 ; CHECK-MACOS: .quad Lxray_sled_0 30 ; CHECK-MACOS: .quad Lxray_sled_1 31 ; CHECK-MACOS-LABEL: Lxray_sleds_end0: 32 ; CHECK-MACOS-LABEL: .section __DATA,xray_fn_idx,regular,live_support{{$}} 33 ; CHECK-MACOS: [[IDX:lxray_fn_idx[0-9]+]]: 34 ; CHECK-MACOS-NEXT: .quad lxray_sleds_start0-[[IDX]] 35 ; CHECK-MACOS [all...] |
H A D | xray-partial-instrumentation-skip-entry.ll | 3 ; RUN: llc -mtriple=x86_64-darwin-unknown < %s | FileCheck %s --check-prefixes=CHECK,CHECK-MACOS 23 ; CHECK-MACOS-LABEL: .section __DATA,xray_instr_map,regular,live_support{{$}} 24 ; CHECK-MACOS-LABEL: lxray_sleds_start0: 25 ; CHECK-MACOS: .quad Lxray_sled_0 26 ; CHECK-MACOS-LABEL: Lxray_sleds_end0: 27 ; CHECK-MACOS-LABEL: .section __DATA,xray_fn_idx,regular,live_support{{$}} 28 ; CHECK-MACOS: [[IDX:lxray_fn_idx[0-9]+]]: 29 ; CHECK-MACOS-NEXT: .quad lxray_sleds_start0-[[IDX]] 30 ; CHECK-MACOS-NEXT: .quad 1 64 ; CHECK-MACOS [all...] |
H A D | xray-partial-instrumentation-skip-exit.ll | 25 ; CHECK-MACOS-LABEL: .section __DATA,xray_instr_map,regular,live_support{{$}} 26 ; CHECK-MACOS-LABEL: lxray_sleds_start0: 27 ; CHECK-MACOS: .quad Lxray_sled_0 28 ; CHECK-MACOS-LABEL: Lxray_sleds_end0: 29 ; CHECK-MACOS-LABEL: .section __DATA,xray_fn_idx,regular,live_support{{$}} 30 ; CHECK-MACOS: [[IDX:lxray_fn_idx[0-9]+]]: 31 ; CHECK-MACOS: .quad lxray_sleds_start0-[[IDX]] 32 ; CHECK-MACOS-NEXT: .quad Lxray_sleds_end0 64 ; CHECK-MACOS-LABEL: .section __DATA,xray_instr_map,regular,live_support{{$}} 65 ; CHECK-MACOS [all...] |
/llvm-project/clang/test/Index/ |
H A D | availability.mm | 50 // CHECK: ObjCInterfaceDecl=C:2:12 (macos, introduced=8.0) 51 // CHECK: ObjCIvarDecl=i0:3:7 (Definition) (macos, introduced=8.0) 52 // CHECK: ObjCIvarDecl=i1:4:7 (Definition) (macos, introduced=9.0) 53 // CHECK: ObjCPropertyDecl=p0:6:15 (macos, introduced=8.0) 54 // CHECK: ObjCPropertyDecl=p1:7:15 (macos, introduced=9.0) 55 // CHECK: ObjCInstanceMethodDecl=m0:8:9 (macos, introduced=8.0) 56 // CHECK: ObjCInstanceMethodDecl=m1:9:9 (macos, introduced=9.0) 58 // CHECK: ObjCImplementationDecl=C:12:17 (Definition) (macos, introduced=8.0) 59 // CHECK: ObjCInstanceMethodDecl=m0:13:9 (Definition) (macos, introduced=8.0) 60 // CHECK: ObjCInstanceMethodDecl=m1:15:9 (Definition) (macos, introduced=9.0) [all …]
|
/llvm-project/llvm/test/CodeGen/AArch64/ |
H A D | xray-tail-call-sled.ll | 2 ; RUN: llc -mtriple=aarch64-apple-darwin < %s | FileCheck %s --check-prefixes=CHECK,CHECK-MACOS 31 ; CHECK-MACOS-LABEL: .section __DATA,xray_instr_map,regular,live_support{{$}} 32 ; CHECK-MACOS-LABEL: lxray_sleds_start0: 33 ; CHECK-MACOS-NEXT: [[TMP:Ltmp[0-9]+]]: 34 ; CHECK-MACOS: .quad Lxray_sled_0-[[TMP]] 35 ; CHECK-MACOS: [[TMP:Ltmp[0-9]+]]: 36 ; CHECK-MACOS-NEXT: .quad Lxray_sled_1-[[TMP]] 37 ; CHECK-MACOS-LABEL: Lxray_sleds_end0: 38 ; CHECK-MACOS-LABEL: .section __DATA,xray_fn_idx,regular,live_support{{$}} 39 ; CHECK-MACOS: [[IDX:lxray_fn_idx[0-9]+]]: [all …]
|
H A D | xray-attribute-instrumentation.ll | 2 ; RUN: llc -mtriple=aarch64-apple-darwin < %s | FileCheck %s -check-prefixes=CHECK,CHECK-MACOS 24 ; CHECK-MACOS-LABEL: .section __DATA,xray_instr_map,regular,live_support{{$}} 25 ; CHECK-MACOS-LABEL: lxray_sleds_start0: 26 ; CHECK-MACOS: .quad Lxray_sled_0 27 ; CHECK-MACOS: .quad Lxray_sled_1 28 ; CHECK-MACOS-LABEL: Lxray_sleds_end0: 50 ; CHECK-MACOS-LABEL: .section __DATA,xray_instr_map,regular,live_support{{$}} 51 ; CHECK-MACOS-LABEL: lxray_sleds_start1: 52 ; CHECK-MACOS: .quad Lxray_sled_2 53 ; CHECK-MACOS: .quad Lxray_sled_3 [all …]
|
/llvm-project/llvm/test/tools/llvm-readtapi/Inputs/ |
H A D | v4D.tbd | 3 targets: [ i386-macos, x86_64-ios-simulator ] 5 - target: i386-macos 15 - targets: [ i386-macos, x86_64-ios-simulator ] 18 - targets: [ i386-macos ] 21 - targets: [ i386-macos, x86_64-ios-simulator ] 24 - targets: [ i386-macos ] 32 targets: [ i386-macos, x86_64-ios-simulator ] 34 - target: i386-macos 44 - targets: [ i386-macos, x86_64-ios-simulator ] 47 - targets: [ i386-macos ] [all …]
|
H A D | v4A.tbd | 3 targets: [ i386-macos, x86_64-macos, x86_64-ios ] 5 - target: i386-macos 7 - target: x86_64-macos 17 - targets: [ i386-macos, x86_64-macos, x86_64-ios ] 20 - targets: [ i386-macos, x86_64-macos, x86_64-ios ] 23 - targets: [ i386-macos ] 32 - targets: [ x86_64-macos, x86_64-ios ] 35 - targets: [ i386-macos ] 43 - targets: [ i386-macos ]
|
H A D | v4E.tbd | 3 targets: [ i386-macos, x86_64-ios-simulator ] 5 - target: i386-macos 15 - targets: [ i386-macos, x86_64-ios-simulator ] 18 - targets: [ i386-macos ] 21 - targets: [ i386-macos, x86_64-ios-simulator ] 24 - targets: [ i386-macos ] 32 targets: [ i386-macos, x86_64-ios-simulator ] 34 - target: i386-macos 44 - targets: [ i386-macos, x86_64-ios-simulator ] 47 - targets: [ i386-macos ] [all …]
|
H A D | v4B.tbd | 3 targets: [ i386-macos, x86_64-ios-simulator ] 5 - target: i386-macos 15 - targets: [ i386-macos, x86_64-ios-simulator ] 18 - targets: [ i386-macos ] 21 - targets: [ i386-macos ] 24 - targets: [ i386-macos ] 32 targets: [ i386-macos, x86_64-ios-simulator ] 34 - target: i386-macos 44 - targets: [ i386-macos, x86_64-ios-simulator ] 47 - targets: [ i386-macos ] [all …]
|
/llvm-project/llvm/test/tools/llvm-readtapi/ |
H A D | remove.test | 29 "x86_64-macos" 39 "x86_64h-macos" 55 "target": "x86_64-macos" 58 "target": "x86_64h-macos" 78 "target": "x86_64-macos" 81 "target": "x86_64h-macos" 100 "x86_64-macos" 110 "x86_64h-macos" 126 "target": "x86_64-macos" 129 "target": "x86_64h-macos" [all …]
|
/llvm-project/lld/test/MachO/ |
H A D | adhoc-codesign.s | 5 # RUN: llvm-mc -filetype=obj -triple=arm64-apple-macos -o %t/main-arm64-macos.o %t/main.s 7 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos -o %t/main-x86_64-macos.o %t/main.s 8 # RUN: llvm-mc -filetype=obj -triple=arm64-apple-macos -o %t/foo-arm64-macos.o %t/foo.s 10 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos -o %t/foo-x86_64-macos.o %t/foo.s 13 # (x86_64-macos, arm64-macos, arm64-ios-simulator) x (default, -adhoc_codesign, -no_adhoc-codesign)… 15 # RUN: %lld -lSystem -arch x86_64 -execute -o %t/out %t/main-x86_64-macos.o 17 # RUN: %lld -arch x86_64 -dylib -o %t/out %t/foo-x86_64-macos.o 19 # RUN: %lld -arch x86_64 -bundle -o %t/out %t/foo-x86_64-macos.o 22 # RUN: %lld -lSystem -arch x86_64 -execute -adhoc_codesign -o %t/out %t/main-x86_64-macos.o 24 # RUN: %lld -arch x86_64 -dylib -adhoc_codesign -o %t/out %t/foo-x86_64-macos.o [all …]
|
H A D | lc-build-version.s | 5 # RUN: %lld -platform_version macos 10.14 10.15 -o %t.macos-10-14 %t.o 6 # RUN: llvm-objdump --macho --all-headers %t.macos-10-14 | FileCheck %s --check-prefix=MACOS-10-14 8 # MACOS-10-14: cmd LC_BUILD_VERSION 9 # MACOS-10-14-NEXT: cmdsize 32 10 # MACOS-10-14-NEXT: platform macos 11 # MACOS-10-14-NEXT: sdk 10.15 12 # MACOS-10-14-NEXT: minos 10.14 13 # MACOS-10-14-NEXT: ntools 1 14 # MACOS-10-14-NEXT: tool lld 15 # MACOS-10-14-NEXT: version {{[0-9\.]+}} [all …]
|
H A D | adhoc-codesign-hash.s | 4 # RUN: llvm-mc -filetype=obj -triple=arm64-apple-macos -o %t/empty-arm64-macos.o %s 6 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos -o %t/empty-x86_64-macos.o %s 8 # RUN: %lld -arch arm64 -dylib -adhoc_codesign -o %t/empty-arm64-macos.dylib %t/empty-arm64-macos.o 10 …UN: %lld -arch x86_64 -dylib -adhoc_codesign -o %t/empty-x86_64-macos.dylib %t/empty-x86_64-macos.o 12 # RUN: obj2yaml %t/empty-arm64-macos.dylib | FileCheck %s -D#DATA_OFFSET=16432 -D#DATA_SIZE=304 14 # RUN: obj2yaml %t/empty-x86_64-macos.dylib | FileCheck %s -D#DATA_OFFSET=4144 -D#DATA_SIZE=208 21 # RUN: %python %p/Inputs/code-signature-check.py %t/empty-arm64-macos.dylib 16432 304 0 16432 23 # RUN: %python %p/Inputs/code-signature-check.py %t/empty-x86_64-macos.dylib 4144 208 0 4144
|
H A D | application-extension.s | 6 # RUN: llvm-mc -filetype=obj -triple=arm64-apple-macos -o %t/foo.o %t/foo.s 7 # RUN: llvm-mc -filetype=obj -triple=arm64-apple-macos -o %t/bar.o %t/bar.s 60 targets: [ arm64-macos ] 62 - target: arm64-macos 66 - targets: [ arm64-macos ] 73 targets: [ arm64-macos ] 76 - target: arm64-macos 80 - targets: [ arm64-macos ] 93 targets: [ arm64-macos ] 95 - target: arm64-macos [all …]
|
H A D | special-symbol-ld-hidden.s | 8 # RUN: not %lld -o /dev/null %t/libHideFoo.tbd %t/ref-all.o -dylib -platform_version macos 11.0.0 1… 11 # RUN: %lld -o %t/ref-foo-12.dylib %t/libHideFoo.tbd %t/ref-all.o -dylib -platform_version macos 12… 15 ….dylib %t/libHideFoo.tbd %t/libHasFoo.tbd %t/ref-all.o -dylib -platform_version macos 11.0.0 11.0.0 19 …rt.dylib %t/libReexportSystem2.tbd %t/ref-reexported.o -dylib -platform_version macos 11.0.0 11.0.0 48 targets: [ x86_64-macos ] 50 - target: x86_64-macos 56 - targets: [ x86_64-macos ] 64 targets: [ x86_64-macos ] 66 - target: x86_64-macos 72 - targets: [ x86_64-macos ] [all …]
|
/llvm-project/clang/test/FixIt/ |
H A D | fixit-availability.mm | 3 __attribute__((availability(macos, introduced=10.12))) 10 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:3-[[@LINE-1]]:3}:"if (@available(macOS 10.12, *)) {\n " 13 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:3-[[@LINE-1]]:3}:"if (@available(macOS 10.12, *)) {\n " 16 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:3-[[@LINE-1]]:3}:"if (@available(macOS 10.12, *)) {\n " 20 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:5-[[@LINE-1]]:5}:"if (@available(macOS 10.12, *)) {\n " 24 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:3-[[@LINE-1]]:3}:"if (@available(macOS 10.12, *)) {\n " 27 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:3-[[@LINE-1]]:3}:"if (@available(macOS 10.12, *)) {\n " 31 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:3-[[@LINE-1]]:3}:"if (@available(macOS 10.12, *)) {\n " 36 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:5-[[@LINE-1]]:5}:"if (@available(macOS 10.12, *)) {\n " 41 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:5-[[@LINE-1]]:5}:"if (@available(macOS 10.1 [all...] |
/llvm-project/clang/test/Sema/ |
H A D | attr-availability-iosmac-infer-from-macos.c | 4 void f0(void) __attribute__((availability(macOS, introduced = 10.11))); 5 void f1(void) __attribute__((availability(macOS, introduced = 10.15))); 7 availability(macOS, introduced = 10.11, 10 __attribute__((availability(macOS, introduced = 10.11, deprecated = 10.14))) 14 __attribute__((availability(macOS, introduced = 10, deprecated = 100000))); 16 void fAvail(void) __attribute__((availability(macOS, unavailable))); 18 void f16(void) __attribute__((availability(macOS, introduced = 11.0))); 23 void fObs(void) __attribute__((availability(macOS, introduced = 10.11, obsoleted = 10.15))); // exp… 25 void fAPItoDepr(void) __attribute__((availability(macOS, introduced = 10.11, deprecated = 100000))); 27 void dontRemapFutureVers(void) __attribute__((availability(macOS, introduced = 20))); [all …]
|
/llvm-project/clang/test/Parser/ |
H A D | objc-available.m | 5 if (@available(macos 10.12, *)) {} 6 else if (@available(macos 10.11, *)) {} 9 (void)__builtin_available(ios 8, macos 10.10, *); 11 …(void)@available(macos 10.11); // expected-error{{must handle potential future platforms with '*'}} 12 …(void)@available(macos 10.11, macos 10.11, *); // expected-error{{version for 'macos' already spec… 19 (void)@available(macos 10.10,); // expected-error{{expected a platform name here}} 20 (void)@available(macos); // expected-error{{expected a version}} 25 (void)@available(iOS 8, tvOS 10, watchOS 3, macOS 10.11, *);
|
/llvm-project/llvm/unittests/TextAPI/ |
H A D | TextStubV4Tests.cpp | 27 "targets: [ i386-macos, x86_64-macos, x86_64-ios ]\n" in TEST() 29 " - target: i386-macos\n" in TEST() 31 " - target: x86_64-macos\n" in TEST() 41 " - targets: [ i386-macos, x86_64-macos, x86_64-ios ]\n" in TEST() 44 " - targets: [ i386-macos, x86_64-macos, x86_64-ios ]\n" in TEST() 47 " - targets: [ i386-macos ]\n" in TEST() 50 " - targets: [ i386-macos ]\n" in TEST() 59 " - targets: [ x86_64-macos, x86_64-ios ]\n" in TEST() 62 " - targets: [ i386-macos ]\n" in TEST() 70 " - targets: [ i386-macos ]\n" in TEST() [all …]
|