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

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 3 07:52:55 PDT 2020


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Herald added a subscriber: rupprecht.
Herald added a project: LLVM.
grimar requested review of this revision.

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, but also should allow to get rid of
`printDynamicRelocation` methods for both styles after landing D87089 <https://reviews.llvm.org/D87089>.


https://reviews.llvm.org/D87092

Files:
  llvm/tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87092.289723.patch
Type: text/x-patch
Size: 6621 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200903/a84c8be1/attachment.bin>


More information about the llvm-commits mailing list