[all-commits] [llvm/llvm-project] d212b6: [llvm-readobj] - Refine program headers testing (`...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Tue Aug 11 06:38:41 PDT 2020


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

  Changed paths:
    R llvm/test/Object/Inputs/program-headers.mips
    R llvm/test/Object/Inputs/program-headers.mips64
    M llvm/test/tools/llvm-readobj/ELF/gnu-phdrs.test
    R llvm/test/tools/llvm-readobj/ELF/program-headers.test
    R llvm/test/tools/llvm-readobj/ELF/pt-gnu-property.test

  Log Message:
  -----------
  [llvm-readobj] - Refine program headers testing (`-l`, `--program-headers` and `--segment`).

We have `gnu-phdrs.test` that tests
`-l`, `--program-headers` and `--segment` options for `llvm-readelf`.

We also have:
1) `program-headers.test` that tests `--program-headers` and `-l`
   for `llvm-readobj`. It doesn't test `--segment` and also uses
   lots of precompiled objects. It is very incomplete in compare
   with the `gnu-phdrs.test`.

2) `pt-gnu-property.test` that contains a simple test for the
   `PT_GNU_PROPERTY` segment. There is no reason to have it in
   a separate file.

This patch:
1) Merges `program-headers.test` and `pt-gnu-property.test` to `gnu-phdrs.test`.
2) Removes 2 precompiled binaries used by `program-headers.test`
   (other ones are still used by another tests).

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




More information about the All-commits mailing list