You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
741 B
26 lines
741 B
4 months ago
|
# 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: ...
|