[all-commits] [llvm/llvm-project] a33427: [llvm-readobj] - Add a test for --hash-table option.

Georgii Rymar via All-commits all-commits at lists.llvm.org
Mon Jan 27 01:28:59 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a33427447df06ccde496ac6d84abd6709063c6b4
      https://github.com/llvm/llvm-project/commit/a33427447df06ccde496ac6d84abd6709063c6b4
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    R llvm/test/Object/Inputs/no-section-table.so
    R llvm/test/Object/no-section-table.test
    A llvm/test/tools/llvm-readobj/ELF/hash-table.test

  Log Message:
  -----------
  [llvm-readobj] - Add a test for --hash-table option.

We had no test for --hash-table in tools/llvm-readobj.

The one we had was in test/Object and checked that
it is possible to dump the hash table even when an object
doesn't have a section header table.

In this patch I created a test, moved and merged the existent one.
During moving I converted it to be YAML based to stop using the
precompiled binary.

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




More information about the All-commits mailing list