Skip to content

Commit

Permalink
Filter test based on backend support. (#116244)
Browse files Browse the repository at this point in the history
ifunc support for Windows on AArch64 needs AArch64 support in the
backend so restrict the test to it's availability.
  • Loading branch information
DanielKristofKiss authored Nov 14, 2024
1 parent 76bb963 commit 44b33f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clang/test/CodeGen/ifunc-win.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 44b33f5

Please sign in to comment.