llvm.org GIT mirror llvm / 18952b8 test / tools / llvm-elfabi / binary-read-arch.test
18952b8

Tree @18952b8 (Download .tar.gz)

binary-read-arch.test @18952b8raw · history · blame

# RUN: yaml2obj %s > %t
# RUN: llvm-elfabi %t --emit-tbe=- | FileCheck %s

!ELF
FileHeader:
  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  Type:            ET_DYN
  Machine:         EM_X86_64

# CHECK:      --- !tapi-tbe
# CHECK-NEXT: TbeVersion: {{[1-9]\d*\.(0|([1-9]\d*))}}
# CHECK-NEXT: Arch: x86_64
# CHECK-NEXT: Symbols: {}
# CHECK-NEXT: ...