[PATCH] D137092: [readobj] Factor out common ELF code into a helper

Paul Kirth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 31 10:47:13 PDT 2022


paulkirth created this revision.
Herald added subscribers: s.egerton, simoncook.
Herald added a reviewer: jhenderson.
Herald added a project: All.
paulkirth requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, MaskRay.
Herald added a project: LLVM.

`printSymbol()` implementations have significant overlap between the LLVM and
JSON formats. This patch factors out some of the common code into a helper
function, to avoid repeating identical code.

Depends on D137091 <https://reviews.llvm.org/D137091>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137092

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137092.472068.patch
Type: text/x-patch
Size: 5458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221031/d48b36a9/attachment.bin>


More information about the llvm-commits mailing list