1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/tools/llvm-elfabi/read-tbe-as-tbe.test
Armando Montanez ae786e6671 [elfabi] Add option to manually specify file read format
Although llvm-elfabi will attempt to read input files without needing the format to be manually specified, doing so has the potential to introduce extraneous errors that can hinder debugging (since multiple readers may fail in attempts to read the file). This change allows the input file format to be manually specified to force elfabi to use a single reader. This makes it easier to test and debug errors specific to a given reader.

llvm-svn: 350545
2019-01-07 17:33:10 +00:00

14 lines
273 B
Plaintext

# RUN: llvm-elfabi --tbe %s --emit-tbe=- | FileCheck %s
--- !tapi-tbe
TbeVersion: 1.0
Arch: AArch64
Symbols: {}
...
# CHECK: --- !tapi-tbe
# CHECK-NEXT: TbeVersion: {{[1-9]\d*\.(0|([1-9]\d*))}}
# CHECK-NEXT: Arch: AArch64
# CHECK-NEXT: Symbols: {}
# CHECK-NEXT: ...