• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
8
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
12
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
20
21// CHECK-BUILD-IOS-ARM64E:           cmd LC_BUILD_VERSION
22// CHECK-BUILD-IOS-ARM64E-NEXT:  cmdsize 24
23// CHECK-BUILD-IOS-ARM64E-NEXT: platform ios
24// CHECK-BUILD-IOS-ARM64E-NEXT:      sdk n/a
25// CHECK-BUILD-IOS-ARM64E-NEXT:    minos 14.0
26// CHECK-BUILD-IOS-ARM64E-NEXT:   ntools 0
27// CHECK-BUILD-IOS-ARM64E-NOT: LC_VERSION_MIN
28
29// CHECK-BUILD-IOS-ARM64E3:           cmd LC_BUILD_VERSION
30// CHECK-BUILD-IOS-ARM64E3-NEXT:  cmdsize 24
31// CHECK-BUILD-IOS-ARM64E3-NEXT: platform ios
32// CHECK-BUILD-IOS-ARM64E3-NEXT:      sdk n/a
33// CHECK-BUILD-IOS-ARM64E3-NEXT:    minos 14.1
34// CHECK-BUILD-IOS-ARM64E3-NEXT:   ntools 0
35// CHECK-BUILD-IOS-ARM64E3-NOT: LC_VERSION_MIN
36
37// CHECK-BUILD-IOSSIM2:           cmd LC_BUILD_VERSION
38// CHECK-BUILD-IOSSIM2-NEXT:  cmdsize 24
39// CHECK-BUILD-IOSSIM2-NEXT: platform iossim
40// CHECK-BUILD-IOSSIM2-NEXT:      sdk n/a
41// CHECK-BUILD-IOSSIM2-NEXT:    minos 14.0
42// CHECK-BUILD-IOSSIM2-NEXT:   ntools 0
43// CHECK-BUILD-IOSSIM2-NOT: LC_VERSION_MIN
44
45// CHECK-BUILD-IOSSIM3:           cmd LC_BUILD_VERSION
46// CHECK-BUILD-IOSSIM3-NEXT:  cmdsize 24
47// CHECK-BUILD-IOSSIM3-NEXT: platform iossim
48// CHECK-BUILD-IOSSIM3-NEXT:      sdk n/a
49// CHECK-BUILD-IOSSIM3-NEXT:    minos 14.1
50// CHECK-BUILD-IOSSIM3-NEXT:   ntools 0
51// CHECK-BUILD-IOSSIM3-NOT: LC_VERSION_MIN
52
53// CHECK-BUILD-TVOSSIM2:           cmd LC_BUILD_VERSION
54// CHECK-BUILD-TVOSSIM2-NEXT:  cmdsize 24
55// CHECK-BUILD-TVOSSIM2-NEXT: platform tvossim
56// CHECK-BUILD-TVOSSIM2-NEXT:      sdk n/a
57// CHECK-BUILD-TVOSSIM2-NEXT:    minos 14.0
58// CHECK-BUILD-TVOSSIM2-NEXT:   ntools 0
59// CHECK-BUILD-TVOSSIM2-NOT: LC_VERSION_MIN
60
61// CHECK-BUILD-WATCHOSSIM2:           cmd LC_BUILD_VERSION
62// CHECK-BUILD-WATCHOSSIM2-NEXT:  cmdsize 24
63// CHECK-BUILD-WATCHOSSIM2-NEXT: platform watchossim
64// CHECK-BUILD-WATCHOSSIM2-NEXT:      sdk n/a
65// CHECK-BUILD-WATCHOSSIM2-NEXT:    minos 7.0
66// CHECK-BUILD-WATCHOSSIM2-NEXT:   ntools 0
67// CHECK-BUILD-WATCHOSSIM2-NOT: LC_VERSION_MIN
68
69// CHECK-BUILD-MACOS-ARM64:           cmd LC_BUILD_VERSION
70// CHECK-BUILD-MACOS-ARM64-NEXT:  cmdsize 24
71// CHECK-BUILD-MACOS-ARM64-NEXT: platform macos
72// CHECK-BUILD-MACOS-ARM64-NEXT:      sdk n/a
73// CHECK-BUILD-MACOS-ARM64-NEXT:    minos 11.0
74// CHECK-BUILD-MACOS-ARM64-NEXT:   ntools 0
75// CHECK-BUILD-MACOS-ARM64-NOT: LC_VERSION_MIN
76
77// CHECK-BUILD-MACOS-ARM64_1:           cmd LC_BUILD_VERSION
78// CHECK-BUILD-MACOS-ARM64_1-NEXT:  cmdsize 24
79// CHECK-BUILD-MACOS-ARM64_1-NEXT: platform macos
80// CHECK-BUILD-MACOS-ARM64_1-NEXT:      sdk n/a
81// CHECK-BUILD-MACOS-ARM64_1-NEXT:    minos 11.1
82// CHECK-BUILD-MACOS-ARM64_1-NEXT:   ntools 0
83
84// CHECK-MACCATALYST-ARM64:           cmd LC_BUILD_VERSION
85// CHECK-MACCATALYST-ARM64-NEXT:  cmdsize 24
86// CHECK-MACCATALYST-ARM64-NEXT: platform macCatalyst
87// CHECK-MACCATALYST-ARM64-NEXT:      sdk n/a
88// CHECK-MACCATALYST-ARM64-NEXT:    minos 14.0
89// CHECK-MACCATALYST-ARM64-NEXT:   ntools 0
90
91// CHECK-MACCATALYST-ARM64_1:           cmd LC_BUILD_VERSION
92// CHECK-MACCATALYST-ARM64_1-NEXT:  cmdsize 24
93// CHECK-MACCATALYST-ARM64_1-NEXT: platform macCatalyst
94// CHECK-MACCATALYST-ARM64_1-NEXT:      sdk n/a
95// CHECK-MACCATALYST-ARM64_1-NEXT:    minos 14.1
96// CHECK-MACCATALYST-ARM64_1-NEXT:   ntools 0
97