[all-commits] [llvm/llvm-project] 2953ac: [llvm-readobj] - Refactor ELFDumper<ELFT>::getStat...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Tue Jul 7 03:41:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2953ac0975bc7e5dbe61fbd6538f02487efa62d2
      https://github.com/llvm/llvm-project/commit/2953ac0975bc7e5dbe61fbd6538f02487efa62d2
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-07-07 (Tue, 07 Jul 2020)

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

  Log Message:
  -----------
  [llvm-readobj] - Refactor ELFDumper<ELFT>::getStaticSymbolName.

This is a followup for D83129.
It is possible to make `getStaticSymbolName` report warnings inside
and return the "<?>" on a error. This allows to encapsulate errors handling
and slightly simplifies the logic in callers code.

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




More information about the All-commits mailing list