[PATCH] D129924: [llvm-objdump] Support --symbolize-operands when there is a single SHT_LLVM_BB_ADDR_MAP section for all text sections.
Rahman Lavaee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 16 00:49:47 PDT 2022
rahmanl created this revision.
rahmanl added a reviewer: jhenderson.
Herald added a subscriber: rupprecht.
Herald added a reviewer: MaskRay.
Herald added a project: All.
rahmanl requested review of this revision.
Herald added subscribers: llvm-commits, StephenFan.
Herald added a project: LLVM.
When linking, using `-Wl,-z,-keep-text-section-prefix` results in multiple text sections while all `SHT_LLVM_BB_ADDR_MAP` sections are linked into a single one.
In such case, we should not read the corresponding section for each text section, and instead read all `SHT_LLVM_BB_ADDR_MAP` sections before disassembly.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D129924
Files:
llvm/test/tools/llvm-objdump/X86/elf-bbaddrmap-disassemble-symbolize-operands.yaml
llvm/tools/llvm-objdump/llvm-objdump.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129924.445201.patch
Type: text/x-patch
Size: 8816 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220716/6f4b43ad/attachment.bin>
More information about the llvm-commits
mailing list