1# RUN: llvm-elfabi %s --emit-tbe=- | FileCheck %s 2 3--- !tapi-tbe 4SoName: somelib.so 5TbeVersion: 1.0 6Arch: x86_64 7Symbols: 8 foo: { Type: Func } 9 bar: { Type: Object, Size: 42 } 10 baz: { Type: Object, Size: 8 } 11 not: { Type: Object, Undefined: true, Size: 128 } 12 nor: { Type: Func, Undefined: true } 13... 14 15# CHECK: --- !tapi-tbe 16# CHECK-NEXT: TbeVersion: {{[1-9]\d*\.(0|([1-9]\d*))}} 17# CHECK-NEXT: SoName: somelib.so 18# CHECK-NEXT: Arch: x86_64 19# CHECK-NEXT: Symbols: 20# CHECK-NEXT: bar: { Type: Object, Size: 42 } 21# CHECK-NEXT: baz: { Type: Object, Size: 8 } 22# CHECK-NEXT: foo: { Type: Func } 23# CHECK-NEXT: nor: { Type: Func, Undefined: true } 24# CHECK-NEXT: not: { Type: Object, Size: 128, Undefined: true } 25# CHECK-NEXT: ... 26