1# RUN: llvm-elfabi --elf %p/Inputs/sysv_hash.so --emit-tbe=- | FileCheck %s 2 3# CHECK: --- !tapi-tbe 4# CHECK-NEXT: TbeVersion: 1.0 5# CHECK-NEXT: SoName: libsomething.so 6# CHECK-NEXT: Arch: x86_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: AGlobalInteger: { Type: Object, Size: 4 } 13# CHECK-NEXT: AThreadLocalLongInteger: { Type: TLS, Size: 8 } 14# CHECK-NEXT: _ITM_deregisterTMCloneTable: { Type: NoType, Undefined: true, Weak: true } 15# CHECK-NEXT: _ITM_registerTMCloneTable: { Type: NoType, Undefined: true, Weak: true } 16# CHECK-NEXT: _Z11rotateArrayPii: { Type: Func } 17# CHECK-NEXT: __cxa_finalize: { Type: Func, Undefined: true, Weak: true } 18# CHECK-NEXT: __gmon_start__: { Type: NoType, Undefined: true, Weak: true } 19# CHECK-NEXT: __tls_get_addr: { Type: Func, Undefined: true } 20# CHECK-NEXT: _fini: { Type: Func } 21# CHECK-NEXT: _init: { Type: Func } 22# CHECK-NEXT: ... 23