1 # RUN: llvm-ifs --input-format=ELF --strip-undefined --output-ifs=- %p/Inputs/gnu_hash.so | FileCheck %s
4 # CHECK-NEXT: IfsVersion: 3.0
5 # CHECK-NEXT: SoName: libsomething.so
6 # CHECK-NEXT: Target: { ObjectFormat: ELF, Arch: x86_64, Endianness: little, BitWidth: 64 }
7 # CHECK-NEXT: NeededLibs:
8 # CHECK-NEXT: - libm.so.6
9 # CHECK-NEXT: - libc.so.6
10 # CHECK-NEXT: - ld-linux-x86-64.so.2
11 # CHECK-NEXT: Symbols:
12 # CHECK-NEXT: - { Name: AGlobalInteger, Type: Object, Size: 4 }
13 # CHECK-NEXT: - { Name: AThreadLocalLongInteger, Type: TLS, Size: 8 }
14 # CHECK-NEXT: - { Name: _Z11rotateArrayPii, Type: Func }
15 # CHECK-NEXT: - { Name: _fini, Type: Func }
16 # CHECK-NEXT: - { Name: _init, Type: Func }