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