[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
Mon Feb 1 19:54:42 PST 2021


rahmanl updated this revision to Diff 320666.
rahmanl marked 5 inline comments as done.
rahmanl added a comment.

- Decode ULEB128 as uint64_t and then cast to uint32_t. Report error if over the limit.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95511/new/

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.320666.patch
Type: text/x-patch
Size: 12875 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210202/eee5772a/attachment.bin>


More information about the llvm-commits mailing list