1 ; RUN: opt -module-summary -o %t.bc %s 2 ; RUN: llvm-lto2 run %t.bc -r %t.bc,foo,pl -o %t2 3 ; RUN: llvm-nm %t2.1 | FileCheck %s 4 ; CHECK: T foo 5 ; CHECK: t foo_ifunc 6 7 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 8 target triple = "x86_64-unknown-linux-gnu" 9 10 @foo = ifunc i32 (i32), i64 ()* @foo_ifunc 11 12 define internal i64 @foo_ifunc() { 13 entry: 14 ret i64 0 15 } 16