[PATCH] D124560: [llvm-objdump] Symbolize branch targets and basic block addresses based on the bb-address-map when present in the object file.

Rahman Lavaee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 3 15:23:46 PDT 2022


rahmanl updated this revision to Diff 426866.
rahmanl marked 6 inline comments as done.
rahmanl edited the summary of this revision.
rahmanl added a comment.

- Handled the multi-section case.
- Added unit tests for the `ELFObjectFile::readBBAddrMap` API.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124560

Files:
  llvm/include/llvm/Object/ELFObjectFile.h
  llvm/lib/Object/ELFObjectFile.cpp
  llvm/test/tools/llvm-objdump/X86/elf-bbaddrmap-disassemble-symbolize-operands-multi-section.yaml
  llvm/test/tools/llvm-objdump/X86/elf-bbaddrmap-disassemble-symbolize-operands.yaml
  llvm/tools/llvm-objdump/llvm-objdump.cpp
  llvm/unittests/Object/ELFObjectFileTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124560.426866.patch
Type: text/x-patch
Size: 18684 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220503/5dabc988/attachment.bin>


More information about the llvm-commits mailing list