mgrang created this revision. mgrang added reviewers: asb, apazos. Herald added subscribers: jocewei, PkmX, rkruppe, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar.
Some of these tests break if the RISCV backend has not been built. Repository: rC Clang https://reviews.llvm.org/D54816 Files: Driver/riscv-abi.c Driver/riscv-arch.c Driver/riscv-features.c Driver/riscv-gnutools.c Driver/riscv32-toolchain.c Driver/riscv64-toolchain.c Index: Driver/riscv64-toolchain.c =================================================================== --- Driver/riscv64-toolchain.c +++ Driver/riscv64-toolchain.c @@ -1,3 +1,5 @@ +// REQUIRES: riscv-registered-target + // A basic clang -cc1 command-line, and simple environment check. // RUN: %clang %s -### -no-canonical-prefixes -target riscv64 2>&1 | FileCheck -check-prefix=CC1 %s Index: Driver/riscv32-toolchain.c =================================================================== --- Driver/riscv32-toolchain.c +++ Driver/riscv32-toolchain.c @@ -1,3 +1,5 @@ +// REQUIRES: riscv-registered-target + // A basic clang -cc1 command-line, and simple environment check. // RUN: %clang %s -### -no-canonical-prefixes -target riscv32 2>&1 | FileCheck -check-prefix=CC1 %s Index: Driver/riscv-gnutools.c =================================================================== --- Driver/riscv-gnutools.c +++ Driver/riscv-gnutools.c @@ -1,3 +1,5 @@ +// REQUIRES: riscv-registered-target + // Check gnutools are invoked with propagated values for -mabi and -march. // RUN: %clang -target riscv32 -fno-integrated-as %s -### -c \ Index: Driver/riscv-features.c =================================================================== --- Driver/riscv-features.c +++ Driver/riscv-features.c @@ -1,3 +1,5 @@ +// REQUIRES: riscv-registered-target + // RUN: %clang -target riscv32-unknown-elf -### %s -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -### %s -fsyntax-only 2>&1 | FileCheck %s Index: Driver/riscv-arch.c =================================================================== --- Driver/riscv-arch.c +++ Driver/riscv-arch.c @@ -1,3 +1,5 @@ +// REQUIRES: riscv-registered-target + // RUN: %clang -target riscv32-unknown-elf -march=rv32i -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32im -### %s \ Index: Driver/riscv-abi.c =================================================================== --- Driver/riscv-abi.c +++ Driver/riscv-abi.c @@ -1,3 +1,5 @@ +// REQUIRES: riscv-registered-target + // RUN: %clang -target riscv32-unknown-elf %s -### -o %t.o 2>&1 \ // RUN: | FileCheck -check-prefix=CHECK-ILP32 %s // RUN: %clang -target riscv32-unknown-elf %s -### -o %t.o -mabi=ilp32 2>&1 \
Index: Driver/riscv64-toolchain.c =================================================================== --- Driver/riscv64-toolchain.c +++ Driver/riscv64-toolchain.c @@ -1,3 +1,5 @@ +// REQUIRES: riscv-registered-target + // A basic clang -cc1 command-line, and simple environment check. // RUN: %clang %s -### -no-canonical-prefixes -target riscv64 2>&1 | FileCheck -check-prefix=CC1 %s Index: Driver/riscv32-toolchain.c =================================================================== --- Driver/riscv32-toolchain.c +++ Driver/riscv32-toolchain.c @@ -1,3 +1,5 @@ +// REQUIRES: riscv-registered-target + // A basic clang -cc1 command-line, and simple environment check. // RUN: %clang %s -### -no-canonical-prefixes -target riscv32 2>&1 | FileCheck -check-prefix=CC1 %s Index: Driver/riscv-gnutools.c =================================================================== --- Driver/riscv-gnutools.c +++ Driver/riscv-gnutools.c @@ -1,3 +1,5 @@ +// REQUIRES: riscv-registered-target + // Check gnutools are invoked with propagated values for -mabi and -march. // RUN: %clang -target riscv32 -fno-integrated-as %s -### -c \ Index: Driver/riscv-features.c =================================================================== --- Driver/riscv-features.c +++ Driver/riscv-features.c @@ -1,3 +1,5 @@ +// REQUIRES: riscv-registered-target + // RUN: %clang -target riscv32-unknown-elf -### %s -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -### %s -fsyntax-only 2>&1 | FileCheck %s Index: Driver/riscv-arch.c =================================================================== --- Driver/riscv-arch.c +++ Driver/riscv-arch.c @@ -1,3 +1,5 @@ +// REQUIRES: riscv-registered-target + // RUN: %clang -target riscv32-unknown-elf -march=rv32i -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32im -### %s \ Index: Driver/riscv-abi.c =================================================================== --- Driver/riscv-abi.c +++ Driver/riscv-abi.c @@ -1,3 +1,5 @@ +// REQUIRES: riscv-registered-target + // RUN: %clang -target riscv32-unknown-elf %s -### -o %t.o 2>&1 \ // RUN: | FileCheck -check-prefix=CHECK-ILP32 %s // RUN: %clang -target riscv32-unknown-elf %s -### -o %t.o -mabi=ilp32 2>&1 \
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits