1 // RUN
: llvm-mc
-triple arm64-apple-macos10.10
.2 %s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-BUILD-MACOS-ARM64
2 // RUN
: llvm-mc
-triple arm64e-apple-macos10.10
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-BUILD-MACOS-ARM64
3 // RUN
: llvm-mc
-triple arm64-apple-macos11
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-BUILD-MACOS-ARM64
4 // RUN
: llvm-mc
-triple arm64-apple-macos11.1
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-BUILD-MACOS-ARM64_1
5 // RUN
: llvm-mc
-triple arm64-apple-ios13.0
-macabi
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-MACCATALYST-ARM64
6 // RUN
: llvm-mc
-triple arm64e-apple-ios13.0
-macabi
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-MACCATALYST-ARM64
7 // RUN
: llvm-mc
-triple arm64-apple-ios14.1
-macabi
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-MACCATALYST-ARM64_1
9 // RUN
: llvm-mc
-triple arm64e-apple-ios10.3
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-BUILD-IOS-ARM64E
10 // RUN
: llvm-mc
-triple arm64e-apple-ios13
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-BUILD-IOS-ARM64E
11 // RUN
: llvm-mc
-triple arm64e-apple-ios14.1
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-BUILD-IOS-ARM64E3
13 // RUN
: llvm-mc
-triple arm64-apple-ios10-simulator
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-BUILD-IOSSIM2
14 // RUN
: llvm-mc
-triple arm64e-apple-ios10-simulator
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-BUILD-IOSSIM2
15 // RUN
: llvm-mc
-triple arm64-apple-ios13-simulator
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-BUILD-IOSSIM2
16 // RUN
: llvm-mc
-triple arm64-apple-ios14-simulator
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-BUILD-IOSSIM2
17 // RUN
: llvm-mc
-triple arm64-apple-ios14.1
-simulator
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-BUILD-IOSSIM3
18 // RUN
: llvm-mc
-triple arm64-apple-tvos10-simulator
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-BUILD-TVOSSIM2
19 // RUN
: llvm-mc
-triple arm64-apple-watchos3-simulator
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-BUILD-WATCHOSSIM2
21 // RUN
: llvm-mc
-triple arm64-apple-driverkit19.0
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-DRIVERKIT-ARM64
22 // RUN
: llvm-mc
-triple arm64e-apple-driverkit19.0
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-DRIVERKIT-ARM64
23 // RUN
: llvm-mc
-triple arm64-apple-driverkit20.1
%s
-filetype
=obj
-o
- | llvm-objdump
--macho
--private-headers
- | FileCheck
%s
--check-prefix
=CHECK-DRIVERKIT-ARM64_1
25 // CHECK-BUILD-IOS-ARM64E
: cmd LC_BUILD_VERSION
26 // CHECK-BUILD-IOS-ARM64E-NEXT
: cmdsize
24
27 // CHECK-BUILD-IOS-ARM64E-NEXT
: platform ios
28 // CHECK-BUILD-IOS-ARM64E-NEXT
: sdk n
/a
29 // CHECK-BUILD-IOS-ARM64E-NEXT
: minos
14.0
30 // CHECK-BUILD-IOS-ARM64E-NEXT
: ntools
0
31 // CHECK-BUILD-IOS-ARM64E-
NOT: LC_VERSION_MIN
33 // CHECK-BUILD-IOS-ARM64E3
: cmd LC_BUILD_VERSION
34 // CHECK-BUILD-IOS-ARM64E3-NEXT
: cmdsize
24
35 // CHECK-BUILD-IOS-ARM64E3-NEXT
: platform ios
36 // CHECK-BUILD-IOS-ARM64E3-NEXT
: sdk n
/a
37 // CHECK-BUILD-IOS-ARM64E3-NEXT
: minos
14.1
38 // CHECK-BUILD-IOS-ARM64E3-NEXT
: ntools
0
39 // CHECK-BUILD-IOS-ARM64E3-
NOT: LC_VERSION_MIN
41 // CHECK-BUILD-IOSSIM2
: cmd LC_BUILD_VERSION
42 // CHECK-BUILD-IOSSIM2-NEXT
: cmdsize
24
43 // CHECK-BUILD-IOSSIM2-NEXT
: platform iossim
44 // CHECK-BUILD-IOSSIM2-NEXT
: sdk n
/a
45 // CHECK-BUILD-IOSSIM2-NEXT
: minos
14.0
46 // CHECK-BUILD-IOSSIM2-NEXT
: ntools
0
47 // CHECK-BUILD-IOSSIM2-
NOT: LC_VERSION_MIN
49 // CHECK-BUILD-IOSSIM3
: cmd LC_BUILD_VERSION
50 // CHECK-BUILD-IOSSIM3-NEXT
: cmdsize
24
51 // CHECK-BUILD-IOSSIM3-NEXT
: platform iossim
52 // CHECK-BUILD-IOSSIM3-NEXT
: sdk n
/a
53 // CHECK-BUILD-IOSSIM3-NEXT
: minos
14.1
54 // CHECK-BUILD-IOSSIM3-NEXT
: ntools
0
55 // CHECK-BUILD-IOSSIM3-
NOT: LC_VERSION_MIN
57 // CHECK-BUILD-TVOSSIM2
: cmd LC_BUILD_VERSION
58 // CHECK-BUILD-TVOSSIM2-NEXT
: cmdsize
24
59 // CHECK-BUILD-TVOSSIM2-NEXT
: platform tvossim
60 // CHECK-BUILD-TVOSSIM2-NEXT
: sdk n
/a
61 // CHECK-BUILD-TVOSSIM2-NEXT
: minos
14.0
62 // CHECK-BUILD-TVOSSIM2-NEXT
: ntools
0
63 // CHECK-BUILD-TVOSSIM2-
NOT: LC_VERSION_MIN
65 // CHECK-BUILD-WATCHOSSIM2
: cmd LC_BUILD_VERSION
66 // CHECK-BUILD-WATCHOSSIM2-NEXT
: cmdsize
24
67 // CHECK-BUILD-WATCHOSSIM2-NEXT
: platform watchossim
68 // CHECK-BUILD-WATCHOSSIM2-NEXT
: sdk n
/a
69 // CHECK-BUILD-WATCHOSSIM2-NEXT
: minos
7.0
70 // CHECK-BUILD-WATCHOSSIM2-NEXT
: ntools
0
71 // CHECK-BUILD-WATCHOSSIM2-
NOT: LC_VERSION_MIN
73 // CHECK-BUILD-MACOS-ARM64
: cmd LC_BUILD_VERSION
74 // CHECK-BUILD-MACOS-ARM64-NEXT
: cmdsize
24
75 // CHECK-BUILD-MACOS-ARM64-NEXT
: platform macos
76 // CHECK-BUILD-MACOS-ARM64-NEXT
: sdk n
/a
77 // CHECK-BUILD-MACOS-ARM64-NEXT
: minos
11.0
78 // CHECK-BUILD-MACOS-ARM64-NEXT
: ntools
0
79 // CHECK-BUILD-MACOS-ARM64-
NOT: LC_VERSION_MIN
81 // CHECK-BUILD-MACOS-ARM64_1
: cmd LC_BUILD_VERSION
82 // CHECK-BUILD-MACOS-ARM64_1-NEXT
: cmdsize
24
83 // CHECK-BUILD-MACOS-ARM64_1-NEXT
: platform macos
84 // CHECK-BUILD-MACOS-ARM64_1-NEXT
: sdk n
/a
85 // CHECK-BUILD-MACOS-ARM64_1-NEXT
: minos
11.1
86 // CHECK-BUILD-MACOS-ARM64_1-NEXT
: ntools
0
88 // CHECK-MACCATALYST-ARM64
: cmd LC_BUILD_VERSION
89 // CHECK-MACCATALYST-ARM64-NEXT
: cmdsize
24
90 // CHECK-MACCATALYST-ARM64-NEXT
: platform macCatalyst
91 // CHECK-MACCATALYST-ARM64-NEXT
: sdk n
/a
92 // CHECK-MACCATALYST-ARM64-NEXT
: minos
14.0
93 // CHECK-MACCATALYST-ARM64-NEXT
: ntools
0
95 // CHECK-MACCATALYST-ARM64_1
: cmd LC_BUILD_VERSION
96 // CHECK-MACCATALYST-ARM64_1-NEXT
: cmdsize
24
97 // CHECK-MACCATALYST-ARM64_1-NEXT
: platform macCatalyst
98 // CHECK-MACCATALYST-ARM64_1-NEXT
: sdk n
/a
99 // CHECK-MACCATALYST-ARM64_1-NEXT
: minos
14.1
100 // CHECK-MACCATALYST-ARM64_1-NEXT
: ntools
0
102 // CHECK-DRIVERKIT-ARM64
: cmd LC_BUILD_VERSION
103 // CHECK-DRIVERKIT-ARM64-NEXT
: cmdsize
24
104 // CHECK-DRIVERKIT-ARM64-NEXT
: platform driverkit
105 // CHECK-DRIVERKIT-ARM64-NEXT
: sdk n
/a
106 // CHECK-DRIVERKIT-ARM64-NEXT
: minos
20.0
107 // CHECK-DRIVERKIT-ARM64-NEXT
: ntools
0
109 // CHECK-DRIVERKIT-ARM64_1
: cmd LC_BUILD_VERSION
110 // CHECK-DRIVERKIT-ARM64_1-NEXT
: cmdsize
24
111 // CHECK-DRIVERKIT-ARM64_1-NEXT
: platform driverkit
112 // CHECK-DRIVERKIT-ARM64_1-NEXT
: sdk n
/a
113 // CHECK-DRIVERKIT-ARM64_1-NEXT
: minos
20.1
114 // CHECK-DRIVERKIT-ARM64_1-NEXT
: ntools
0