• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-as < %s -o - | llc -filetype=asm | FileCheck %s
2
3target triple = "x86_64-unknown-linux-gnu"
4
5define internal i64 @foo_ifunc() {
6entry:
7  ret i64 0
8}
9; CHECK: .type foo_ifunc,@function
10; CHECK-NEXT: foo_ifunc:
11
12@foo = ifunc i32 (i32), i64 ()* @foo_ifunc
13; CHECK: .type foo,@function
14; CHECK-NEXT: .type foo,@gnu_indirect_function
15; CHECK-NEXT: foo = foo_ifunc
16