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