blob: b0ec63f13ff381e81ab0b27b85815e871c7f320e [file] [log] [blame]
Saleem Abdulrasool51313bc2018-09-24 23:50:02 +00001// RUN: %clang -target x86_64-apple-macosx -fembed-bitcode=all -c %s -o /dev/null -### 2>&1 \
2// RUN: | FileCheck -check-prefix CHECK-X64 %s
3
4// CHECK-X64: "-cc1"
5
6// CHECK-X64: "-cc1"
7// CHECK-X64-NOT: "-fdebug-compilation-dir"
8
9// RUN: %clang -target armv7-apple-ios -fembed-bitcode=all -c %s -o /dev/null -### 2>&1 \
10// RUN: | FileCheck -check-prefix CHECK-ARM %s
11
12// CHECK-ARM: "-cc1"
13
14// CHECK-ARM: "-cc1"
15// CHECK-ARM: "-target-abi"
16// CHECK-ARM: "apcs-gnu"
17// CHECK-ARM-NOT: "-fdebug-compilation-dir"
18
19// RUN: %clang -target arm64-apple-ios -fembed-bitcode=all -c %s -o /dev/null -### 2>&1 \
20// RUN: | FileCheck -check-prefix CHECK-AARCH64 %s
21
22// CHECK-AARCH64: "-cc1"
23
24// CHECK-AARCH64: "-cc1"
25// CHECK-AARCH64: "-target-abi"
26// CHECK-AARCH64: "darwinpcs"
27// CHECK-AARCH64-NOT: "-fdebug-compilation-dir"
28