1 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux-gnu %s | llvm-readelf -hs - | FileCheck %s --check-prefixes=CHECK,GNU
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-freebsd %s | llvm-readelf -hs - | FileCheck %s --check-prefixes=CHECK,FREEBSD
6 .type foo_impl,@function
10 .type foo_resolver,@function
15 .type foo,@gnu_indirect_function
18 ## ELFOSABI_NONE is changed to ELFOSABI_GNU. Other OSABI values are unchanged.
19 # GNU: OS/ABI: UNIX - GNU
20 # FREEBSD: OS/ABI: UNIX - FreeBSD
22 # CHECK: FUNC LOCAL DEFAULT 2 foo_impl
23 # CHECK-NEXT: FUNC LOCAL DEFAULT 2 foo_resolver
24 # CHECK-NEXT: IFUNC LOCAL DEFAULT 2 foo