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
7 // CHECK-X64-NOT: "-fdebug-compilation-dir
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
15 // CHECK-ARM: "-target-abi"
16 // CHECK-ARM: "apcs-gnu"
17 // CHECK-ARM-NOT: "-fdebug-compilation-dir
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
22 // CHECK-AARCH64: "-cc1"
24 // CHECK-AARCH64: "-cc1"
25 // CHECK-AARCH64: "-target-abi"
26 // CHECK-AARCH64: "darwinpcs"
27 // CHECK-AARCH64-NOT: "-fdebug-compilation-dir
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"
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
38 // CHECK-WASM: "-target-feature" "+atomics"
41 // CHECK-WASM: "-target-feature" "+atomics"