Author: Matt Arsenault Date: 2023-01-12T13:00:49-05:00 New Revision: edbfc10b48651c94e0c3c774f2a45011b36796e1
URL: https://github.com/llvm/llvm-project/commit/edbfc10b48651c94e0c3c774f2a45011b36796e1 DIFF: https://github.com/llvm/llvm-project/commit/edbfc10b48651c94e0c3c774f2a45011b36796e1.diff LOG: clang: Fix excessively strict test requirements At most this requires x86 as it's used in the run lines, it doesn't require a linux host. Added: Modified: clang/test/CodeGenCXX/clang-sections-1.cpp clang/test/OpenMP/debug_private.c clang/test/OpenMP/debug_task_shared.c clang/test/OpenMP/debug_threadprivate_copyin.c clang/test/OpenMP/outlined_artificial.c Removed: ################################################################################ diff --git a/clang/test/CodeGenCXX/clang-sections-1.cpp b/clang/test/CodeGenCXX/clang-sections-1.cpp index 5dbfb0afac22e..8e1361e4060a7 100644 --- a/clang/test/CodeGenCXX/clang-sections-1.cpp +++ b/clang/test/CodeGenCXX/clang-sections-1.cpp @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-linux -emit-llvm -o - %s | FileCheck %s --check-prefix=LLVM // RUN: %clang_cc1 -triple x86_64-linux -S -o - %s | FileCheck %s --check-prefix=ASM // Actually, any ELF target would do -// REQUIRES: x86_64-linux +// REQUIRES: x86-registered-target #pragma clang section bss = "B$$" data = "d@t@" rodata = "r0d@t@" diff --git a/clang/test/OpenMP/debug_private.c b/clang/test/OpenMP/debug_private.c index a17dd45613a6c..e1d095b5de2ba 100644 --- a/clang/test/OpenMP/debug_private.c +++ b/clang/test/OpenMP/debug_private.c @@ -1,7 +1,7 @@ // This testcase checks emission of debug info for variables inside // private/firstprivate/lastprivate. -// REQUIRES: x86_64-linux +// REQUIRES: x86-registered-target // RUN: %clang_cc1 -debug-info-kind=constructor -x c -verify -triple x86_64-pc-linux-gnu -fopenmp -emit-llvm %s -o - | FileCheck %s // RUN: %clang_cc1 -debug-info-kind=line-directives-only -x c -verify -triple x86_64-pc-linux-gnu -fopenmp -emit-llvm %s -o - | FileCheck %s --check-prefix=NEG diff --git a/clang/test/OpenMP/debug_task_shared.c b/clang/test/OpenMP/debug_task_shared.c index e2259c5d9a720..7bbd080befec2 100644 --- a/clang/test/OpenMP/debug_task_shared.c +++ b/clang/test/OpenMP/debug_task_shared.c @@ -1,7 +1,7 @@ // This testcase checks emission of debug info for variables // inside shared clause of task construct. -// REQUIRES: x86_64-linux +// REQUIRES: x86-registered-target // RUN: %clang_cc1 -debug-info-kind=constructor -DSHARED -x c -verify -triple x86_64-pc-linux-gnu -fopenmp -emit-llvm %s -o - | FileCheck %s --check-prefix=CHECK // RUN: %clang_cc1 -debug-info-kind=constructor -x c -verify -triple x86_64-pc-linux-gnu -fopenmp -emit-llvm %s -o - | FileCheck %s --check-prefix=NEG diff --git a/clang/test/OpenMP/debug_threadprivate_copyin.c b/clang/test/OpenMP/debug_threadprivate_copyin.c index bb0b76d5242a4..56e1f97bb07d5 100644 --- a/clang/test/OpenMP/debug_threadprivate_copyin.c +++ b/clang/test/OpenMP/debug_threadprivate_copyin.c @@ -1,7 +1,7 @@ // This testcase checks emission of debug info for threadprivate variables // present in any clause of OpenMP construct. -// REQUIRES: x86_64-linux +// REQUIRES: x86-registered-target // RUN: %clang_cc1 -debug-info-kind=constructor -x c -verify -triple x86_64-pc-linux-gnu -fopenmp -emit-llvm %s -o - | FileCheck %s // expected-no-diagnostics diff --git a/clang/test/OpenMP/outlined_artificial.c b/clang/test/OpenMP/outlined_artificial.c index 4c997ef2e68f5..20b10f23a16b3 100644 --- a/clang/test/OpenMP/outlined_artificial.c +++ b/clang/test/OpenMP/outlined_artificial.c @@ -1,7 +1,7 @@ // This testcase checks emission of DIFlagArtificial flag for outlined // subroutines generated by compiler. -// REQUIRES: x86_64-linux +// REQUIRES: x86-registered-target // RUN: %clang_cc1 -debug-info-kind=constructor -x c -verify -triple x86_64-pc-linux-gnu -fopenmp -emit-llvm %s -o - | FileCheck %s // expected-no-diagnostics _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits