brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 9081314 Raw
42 lines · c
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 %s3 4// CHECK-X64: "-cc1"5 6// CHECK-X64: "-cc1"7// CHECK-X64-NOT: "-fdebug-compilation-dir8 9// RUN: %clang -target armv7-apple-ios -fembed-bitcode=all -c %s -o /dev/null -### 2>&1 \10// RUN:    | FileCheck --check-prefix=CHECK-ARM %s11 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-dir18 19// RUN: %clang -target arm64-apple-ios -fembed-bitcode=all -c %s -o /dev/null -### 2>&1 \20// RUN:    | FileCheck --check-prefix=CHECK-AARCH64 %s21 22// CHECK-AARCH64: "-cc1"23 24// CHECK-AARCH64: "-cc1"25// CHECK-AARCH64: "-target-abi"26// CHECK-AARCH64: "darwinpcs"27// CHECK-AARCH64-NOT: "-fdebug-compilation-dir28 29// RUN: %clang --target=hexagon-unknown-elf -ffixed-r19 -fembed-bitcode=all -c %s -### 2>&1 \30// RUN:     | FileCheck --check-prefix=CHECK-HEXAGON %s31// 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 %s36 37// CHECK-WASM: "-cc1"38// CHECK-WASM: "-target-feature" "+atomics"39 40// CHECK-WASM: "-cc1"41// CHECK-WASM: "-target-feature" "+atomics"42