[PATCH] D95511: [llvm-readelf] Support dumping the BB address map section with --bb-addr-map.

Rahman Lavaee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 28 02:16:54 PST 2021


rahmanl created this revision.
rahmanl added a reviewer: shenhan.
Herald added subscribers: rupprecht, hiraditya, emaste.
Herald added a reviewer: jhenderson.
rahmanl updated this revision to Diff 319796.
rahmanl added a comment.
rahmanl added reviewers: grimar, MaskRay.
rahmanl published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

rebase.


This patch lets llvm-readelf dump the content of the BB address map
section in the following format:

  Function {
    At: <address>
    BB entries [
      {
        Offset:   <offset>
        Size:     <size>
        Metadata: <metadata>
      },
      ...
    ]
  }
  ...


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95511

Files:
  llvm/include/llvm/Object/ELF.h
  llvm/include/llvm/Object/ELFTypes.h
  llvm/lib/Object/ELF.cpp
  llvm/test/tools/llvm-readobj/ELF/bb-addr-map.test
  llvm/tools/llvm-readobj/ELFDumper.cpp
  llvm/tools/llvm-readobj/ObjDumper.h
  llvm/tools/llvm-readobj/llvm-readobj.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95511.319796.patch
Type: text/x-patch
Size: 11261 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210128/b6a09b70/attachment.bin>


More information about the llvm-commits mailing list