[all-commits] [llvm/llvm-project] 4cd142: [llvm-readobj][test] - Test "Format" values.

Georgii Rymar via All-commits all-commits at lists.llvm.org
Fri Aug 28 01:33:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4cd14256b23a19f4e7cf96628dda6cd6cec01be7
      https://github.com/llvm/llvm-project/commit/4cd14256b23a19f4e7cf96628dda6cd6cec01be7
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-08-28 (Fri, 28 Aug 2020)

  Changed paths:
    A llvm/test/tools/llvm-readobj/ELF/file-header-format.test

  Log Message:
  -----------
  [llvm-readobj][test] - Test "Format" values.

This adds testing for the "Format" field printed with `--file-headers`.

llvm-readelf doesn't use them, so only llvm-readobj needs to be tested.

All possible values are defined and tested in `ELFObjectFile<ELFT>::getFileFormatName()`.
Here we test just a few arbitrary ones.

Differential revision: https://reviews.llvm.org/D86350




More information about the All-commits mailing list