llvm-project/llvm/test/tools/llvm-elfabi/binary-read-syms-gnu-hash.test

23 lines
1.0 KiB
Plaintext
Raw Normal View History

# RUN: llvm-elfabi --elf %p/Inputs/gnu_hash.so --emit-tbe=- | FileCheck %s
# CHECK: --- !tapi-tbe
# CHECK-NEXT: TbeVersion: 1.0
# CHECK-NEXT: SoName: libsomething.so
# CHECK-NEXT: Arch: x86_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: AGlobalInteger: { Type: Object, Size: 4 }
# CHECK-NEXT: AThreadLocalLongInteger: { Type: TLS, Size: 8 }
# CHECK-NEXT: _ITM_deregisterTMCloneTable: { Type: NoType, Undefined: true, Weak: true }
# CHECK-NEXT: _ITM_registerTMCloneTable: { Type: NoType, Undefined: true, Weak: true }
# CHECK-NEXT: _Z11rotateArrayPii: { Type: Func }
# CHECK-NEXT: __cxa_finalize: { Type: Func, Undefined: true, Weak: true }
# CHECK-NEXT: __gmon_start__: { Type: NoType, Undefined: true, Weak: true }
# CHECK-NEXT: __tls_get_addr: { Type: Func, Undefined: true }
# CHECK-NEXT: _fini: { Type: Func }
# CHECK-NEXT: _init: { Type: Func }
# CHECK-NEXT: ...