[all-commits] [llvm/llvm-project] ec0b92: [llvm-readelf/obj] - Deduplicate the logic that pr...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Wed Nov 25 00:14:13 PST 2020


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

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

  Log Message:
  -----------
  [llvm-readelf/obj] - Deduplicate the logic that prints notes. NFCI.

We have a similar logic for LLVM/GNU styles that can be deduplicated.
This will allow to replace `reportError` calls with `reportUniqueWarning`
calls in a single place.

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




More information about the All-commits mailing list