|
2 | 2 | // RUN: -resource-dir=%S/Inputs/resource_dir_with_per_target_subdir \ |
3 | 3 | // RUN: --sysroot=%S/platform -fuse-ld=ld 2>&1 \ |
4 | 4 | // RUN: | FileCheck -check-prefixes=CHECK,CHECK-X86_64 %s |
| 5 | +// RUN: %clang -### %s --target=arm-unknown-fuchsia \ |
| 6 | +// RUN: -resource-dir=%S/Inputs/resource_dir_with_per_target_subdir \ |
| 7 | +// RUN: --sysroot=%S/platform -fuse-ld=ld 2>&1 \ |
| 8 | +// RUN: | FileCheck -check-prefixes=CHECK,CHECK-ARMV8A %s |
5 | 9 | // RUN: %clang -### %s --target=aarch64-unknown-fuchsia \ |
6 | 10 | // RUN: -resource-dir=%S/Inputs/resource_dir_with_per_target_subdir \ |
7 | 11 | // RUN: --sysroot=%S/platform -fuse-ld=ld 2>&1 \ |
|
14 | 18 | // RUN: -resource-dir=%S/Inputs/resource_dir_with_per_target_subdir \ |
15 | 19 | // RUN: --sysroot=%S/platform -fuse-ld=ld 2>&1 \ |
16 | 20 | // RUN: | FileCheck -check-prefixes=CHECK,CHECK-X86_64 %s |
| 21 | +// RUN: %clang -### %s --target=arm-fuchsia \ |
| 22 | +// RUN: -resource-dir=%S/Inputs/resource_dir_with_per_target_subdir \ |
| 23 | +// RUN: --sysroot=%S/platform -fuse-ld=ld 2>&1 \ |
| 24 | +// RUN: | FileCheck -check-prefixes=CHECK,CHECK-ARMV8A %s |
17 | 25 | // RUN: %clang -### %s --target=aarch64-fuchsia \ |
18 | 26 | // RUN: -resource-dir=%S/Inputs/resource_dir_with_per_target_subdir \ |
19 | 27 | // RUN: --sysroot=%S/platform -fuse-ld=ld 2>&1 \ |
|
24 | 32 | // RUN: | FileCheck -check-prefixes=CHECK,CHECK-RISCV64 %s |
25 | 33 | // CHECK: "-cc1" |
26 | 34 | // CHECK-X86_64: "-triple" "x86_64-unknown-fuchsia" |
| 35 | +// CHECK-ARMV8A: "-triple" "thumbv8a-unknown-fuchsia" |
27 | 36 | // CHECK-AARCH64: "-triple" "aarch64-unknown-fuchsia" |
28 | 37 | // CHECK-RISCV64: "-triple" "riscv64-unknown-fuchsia" |
29 | 38 | // CHECK: "-funwind-tables=2" |
|
0 commit comments