[clang] Filter test based on backed support. (PR #116244)

Daniel Kiss via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 14 07:13:54 PST 2024


https://github.com/DanielKristofKiss created https://github.com/llvm/llvm-project/pull/116244

None

>From 4946fe15a6fba4bc069154b4520fb7021ca3ae35 Mon Sep 17 00:00:00 2001
From: Daniel Kiss <daniel.kiss at arm.com>
Date: Thu, 14 Nov 2024 16:04:14 +0100
Subject: [PATCH] Filter test based on backed support.

---
 clang/test/CodeGen/ifunc-win.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/clang/test/CodeGen/ifunc-win.c b/clang/test/CodeGen/ifunc-win.c
index 7c9d6f6516c70f..deda51757e43be 100644
--- a/clang/test/CodeGen/ifunc-win.c
+++ b/clang/test/CodeGen/ifunc-win.c
@@ -3,6 +3,8 @@
 // RUN: %clang_cc1 -triple aarch64-pc-windows-msvc -fsanitize=thread -O2 -emit-llvm -o - %s | FileCheck %s --check-prefix=SAN
 // RUN: %clang_cc1 -triple aarch64-pc-windows-msvc -fsanitize=address -O2 -emit-llvm -o - %s | FileCheck %s --check-prefix=SAN
 
+// REQUIRES: aarch64-registered-target
+
 int foo(int) __attribute__ ((ifunc("foo_ifunc")));
 
 static int f1(int i) {



More information about the cfe-commits mailing list