[all-commits] [llvm/llvm-project] cbedbd: [llvm-readobj/elf][test] - Add testing for EM_* sp...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Wed Aug 26 04:42:16 PDT 2020


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

  Changed paths:
    R llvm/test/tools/llvm-readobj/ELF/Inputs/trivial.obj.elf-amdhsa-gfx803
    M llvm/test/tools/llvm-readobj/ELF/file-header-os-abi.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readobj/elf][test] - Add testing for EM_* specific OS/ABI values.

We have no tests for OS/ABI values specific to
EM_TI_C6000, ELFOSABI_AMDGPU_MESA3D and ELFOSABI_ARM machines.

Also, related arrays in the code are not grouped together.
(That is why such testing was missed I guess).

The patch fixes that all.

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




More information about the All-commits mailing list