forked from OSchip/llvm-project
26 lines
741 B
Plaintext
26 lines
741 B
Plaintext
|
# 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: ...
|