Author: Leonard Chan Date: 2021-05-04T11:45:32-07:00 New Revision: 9c72a210b58f19632af0e91679da7aa63f51ad7a
URL: https://github.com/llvm/llvm-project/commit/9c72a210b58f19632af0e91679da7aa63f51ad7a DIFF: https://github.com/llvm/llvm-project/commit/9c72a210b58f19632af0e91679da7aa63f51ad7a.diff LOG: Fix for test failure caused by 84c475437267e7fffedc40029ce274b099d8f8f3. Reduces the number of targets/triples for this test since not all cmake invocations will build for those targets. Added: Modified: clang/test/Frontend/invalid-cxx-abi.cpp Removed: ################################################################################ diff --git a/clang/test/Frontend/invalid-cxx-abi.cpp b/clang/test/Frontend/invalid-cxx-abi.cpp index 95ee442f286d..2bc0aac52cc7 100644 --- a/clang/test/Frontend/invalid-cxx-abi.cpp +++ b/clang/test/Frontend/invalid-cxx-abi.cpp @@ -1,21 +1,11 @@ +// REQUIRES: x86-registered-target + // These should succeed. -// RUN: %clang -c -fc++-abi=itanium %s -// RUN: %clang -c -fc++-abi=arm -target arm64 %s -// RUN: %clang -c -fc++-abi=ios -target arm64-apple-ios %s -// RUN: %clang -c -fc++-abi=aarch64 -target arm64 %s -// RUN: %clang -c -fc++-abi=mips -target mips %s -// RUN: %clang -c -fc++-abi=webassembly -target wasm64 %s +// RUN: %clang -c -fc++-abi=itanium -target x86_64-unknown-linux-gnu %s // RUN: %clang -c -fc++-abi=fuchsia -target x86_64-unknown-fuchsia %s -// RUN: %clang -S -fc++-abi=xl -target powerpc-unknown-aix %s -o /dev/null // RUN: %clang -c -fc++-abi=microsoft -target x86_64-windows-msvc %s -// RUN: %clang_cc1 -fc++-abi=itanium %s -// RUN: %clang_cc1 -fc++-abi=arm -triple arm64 %s -// RUN: %clang_cc1 -fc++-abi=ios -triple arm64-apple-ios %s -// RUN: %clang_cc1 -fc++-abi=aarch64 -triple arm64 %s -// RUN: %clang_cc1 -fc++-abi=mips -triple mips %s -// RUN: %clang_cc1 -fc++-abi=webassembly -triple wasm64 %s +// RUN: %clang_cc1 -fc++-abi=itanium -triple x86_64-unknown-linux-gnu %s // RUN: %clang_cc1 -fc++-abi=fuchsia -triple x86_64-unknown-fuchsia %s -// RUN: %clang_cc1 -S -fc++-abi=xl -triple powerpc-unknown-aix %s -o /dev/null // RUN: %clang_cc1 -fc++-abi=microsoft -triple x86_64-windows-msvc %s // RUN: not %clang -c -fc++-abi=InvalidABI %s 2>&1 | FileCheck %s -check-prefix=INVALID _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits