[PATCH] D88835: [llvm-readelf] - Implement --addrsig option.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 5 07:10:45 PDT 2020


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Herald added subscribers: rupprecht, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
grimar requested review of this revision.

We have `--addrsig` implemented for `llvm-readobj`.
Usually it is convenient to use a single tool for dumping,
so it seems we might want to implement `--addrsig` for `llvm-readelf` too.

I've selected a simple output format which is a bit similar to one,
used for dumping of the symbol table. It looks like:

  Address-significant symbols section '.llvm_addrsig' contains 2 entries:
     Num: Name
       1: foo
       2: bar


https://reviews.llvm.org/D88835

Files:
  llvm/test/tools/llvm-readobj/ELF/addrsig.test
  llvm/test/tools/llvm-readobj/ELF/demangle.test
  llvm/tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88835.296175.patch
Type: text/x-patch
Size: 12069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201005/d1b8071b/attachment.bin>


More information about the llvm-commits mailing list