[all-commits] [llvm/llvm-project] 357894: [llvm-readobj][test] - Improve testing in hash-tab...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Thu Oct 8 02:38:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3578945004e322e45fdc47ca804f65628ea325a7
      https://github.com/llvm/llvm-project/commit/3578945004e322e45fdc47ca804f65628ea325a7
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-10-08 (Thu, 08 Oct 2020)

  Changed paths:
    M llvm/test/tools/llvm-readobj/ELF/hash-table.test

  Log Message:
  -----------
  [llvm-readobj][test] - Improve testing in hash-table.test

This makes tests stricter and adds cases to verify what
we do when:

1) there is no `DT_HASH` tag (but there is a `SHT_HASH` section in sections header)
2) the sh_entsize of the `SHT_HASH` section is not equal to 4.

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




More information about the All-commits mailing list