1 // 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 
29 // RUN: %clang -target hexagon-unknown-elf -ffixed-r19 -fembed-bitcode=all -c %s -### 2>&1 \
30 // RUN:     | FileCheck --check-prefix=CHECK-HEXAGON %s
31 // CHECK-HEXAGON: "-target-feature"
32 // CHECK-HEXAGON: "+reserved-r19"
33 //
34 // RUN: %clang -target wasm32-unknown-unknown -fembed-bitcode=all -pthread -c %s -o /dev/null -### 2>&1 \
35 // RUN:     | FileCheck --check-prefix=CHECK-WASM %s
36 
37 // CHECK-WASM: "-cc1"
38 // CHECK-WASM: "-target-feature" "+atomics"
39 
40 // CHECK-WASM: "-cc1"
41 // CHECK-WASM: "-target-feature" "+atomics"
42