1 // RUN
: llvm-mc
-filetype
=obj
-triple x86_64-pc-linux-gnu
%s
-o
- | llvm-readelf
-s | FileCheck
%s
4 .type foo_impl,@function
8 .type foo_resolver,@function
13 .type foo,@gnu_indirect_function
16 // All things below should
be IFunc identical to
'foo'
22 // But tls_object should
not be IFunc
26 // CHECK
: IFUNC LOCAL DEFAULT
2 foo
27 // CHECK
: IFUNC LOCAL DEFAULT
2 foo2
28 // CHECK
: IFUNC LOCAL DEFAULT
2 foo3
29 // CHECK
: IFUNC LOCAL DEFAULT
2 foo4
30 // CHECK
: FUNC LOCAL DEFAULT
2 foo_impl
31 // CHECK
: FUNC LOCAL DEFAULT
2 foo_resolver
32 // CHECK
: TLS LOCAL DEFAULT
2 tls