[all-commits] [llvm/llvm-project] 0faf39: [llvm-readelf/obj] - Use `RelSymbol<ELFT>` instead...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Fri Sep 4 03:18:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0faf3930c405c320d8ed210aa0b44ef608e208da
      https://github.com/llvm/llvm-project/commit/0faf3930c405c320d8ed210aa0b44ef608e208da
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-09-04 (Fri, 04 Sep 2020)

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

  Log Message:
  -----------
  [llvm-readelf/obj] - Use `RelSymbol<ELFT>` instead of std::pair. NFCI.

We have the `RelSymbol<ELFT>` struct and can use it instead
of `std::pair<const Elf_Sym *, std::string>` in a few methods.
This is a bit cleaner.

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




More information about the All-commits mailing list