[all-commits] [llvm/llvm-project] 6b74ea: [llvm-readelf/obj] - Refine the implementation of ...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Tue Nov 24 01:08:44 PST 2020


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

  Changed paths:
    M llvm/test/tools/llvm-readobj/ELF/verdef-invalid.test
    M llvm/test/tools/llvm-readobj/ELF/verneed-invalid.test
    M llvm/test/tools/llvm-readobj/ELF/versym-invalid.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readelf/obj] - Refine the implementation of `printGNUVersionSectionProlog`

This:
1) Changes its signature.
2) Refines the name of local variable (`SymTabName`->`LinkedSecName`,
   because SHT_GNU_verneed/SHT_GNU_verdef are linked with the string table, not with the symbol table).
3) Stops using the `unwrapOrError` inside.

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




More information about the All-commits mailing list