[all-commits] [llvm/llvm-project] 936ba7: [llvm-readobj/elf][test] - Refine --headers testin...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Thu Aug 13 03:53:20 PDT 2020


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

  Changed paths:
    M llvm/test/tools/llvm-readobj/ELF/headers.test
    M llvm/tools/llvm-readobj/llvm-readobj.cpp

  Log Message:
  -----------
  [llvm-readobj/elf][test] - Refine --headers testing and the related code comment.

Specifying --headers is equivalent to setting --file-headers,
--program-headers and --section-headers at the same time.

The existent test case uses a precompiled object and doesn't test the
output properly. This patch fixes it.

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




More information about the All-commits mailing list