Lines Matching +full:clang +full:- +full:build
2 // RUN: %clang --target=riscv32 -### %s 2>&1 \
3 // RUN: | FileCheck %s --check-prefix=CHECK-ENABLED
4 // RUN: %clang --target=riscv64 -### %s 2>&1 \
5 // RUN: | FileCheck %s --check-prefix=CHECK-ENABLED
8 // RUN: %clang --target=riscv32 -### %s 2>&1 -mno-default-build-attributes \
9 // RUN: | FileCheck %s --check-prefix=CHECK-DISABLED
10 // RUN: %clang --target=riscv64 -### %s 2>&1 -mno-default-build-attributes \
11 // RUN: | FileCheck %s --check-prefix=CHECK-DISABLED
12 // RUN: %clang --target=riscv32 -### %s 2>&1 -mdefault-build-attributes \
13 // RUN: | FileCheck %s --check-prefix=CHECK-ENABLED
14 // RUN: %clang --target=riscv64 -### %s 2>&1 -mdefault-build-attributes \
15 // RUN: | FileCheck %s --check-prefix=CHECK-ENABLED
17 /// Option ignored for C/C++ (since we always emit hardware and ABI build
19 // RUN: %clang --target=riscv32 -### -x c %s -mdefault-build-attributes 2>&1 \
20 // RUN: | FileCheck %s --check-prefix=CHECK-DISABLED
21 // RUN: %clang --target=riscv64 -### -x c %s -mdefault-build-attributes 2>&1 \
22 // RUN: | FileCheck %s --check-prefix=CHECK-DISABLED
23 // RUN: %clang --target=riscv32 -### -x c++ %s -mdefault-build-attributes 2>&1 \
24 // RUN: | FileCheck %s --check-prefix=CHECK-DISABLED
25 // RUN: %clang --target=riscv64 -### -x c++ %s -mdefault-build-attributes 2>&1 \
26 // RUN: | FileCheck %s --check-prefix=CHECK-DISABLED
28 // CHECK-DISABLED-NOT: "-riscv-add-build-attributes"
29 // CHECK-ENABLED: "-riscv-add-build-attributes"