[clang] 44b33f5 - Filter test based on backend support. (#116244)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 14 08:34:04 PST 2024
Author: Daniel Kiss
Date: 2024-11-14T17:34:00+01:00
New Revision: 44b33f5d3b7ec1f29235acee34938d52bb987619
URL: https://github.com/llvm/llvm-project/commit/44b33f5d3b7ec1f29235acee34938d52bb987619
DIFF: https://github.com/llvm/llvm-project/commit/44b33f5d3b7ec1f29235acee34938d52bb987619.diff
LOG: Filter test based on backend support. (#116244)
ifunc support for Windows on AArch64 needs AArch64 support in the
backend so restrict the test to it's availability.
Added:
Modified:
clang/test/CodeGen/ifunc-win.c
Removed:
################################################################################
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