brintos

brintos / llvm-project-archived public Read only

0
0
Text · 535 B · e6be189 Raw
22 lines · plain
1; RUN: llvm-as < %s | llvm-dis | FileCheck %s2 3target triple = "x86_64-unknown-linux-gnu"4 5@foo = ifunc i32 (i32), ptr @foo_ifunc6; CHECK: @foo = ifunc i32 (i32), ptr @foo_ifunc7 8@strlen = ifunc i64 (ptr), ptr @mistyped_strlen_resolver9; CHECK: strlen = ifunc i64 (ptr), ptr @mistyped_strlen_resolver10 11define internal ptr @foo_ifunc() {12entry:13  ret ptr null14}15; CHECK: define internal ptr @foo_ifunc()16 17define internal ptr @mistyped_strlen_resolver() {18entry:19  ret ptr null20}21; CHECK: define internal ptr @mistyped_strlen_resolver()22