[PATCH] D117447: [llvm-objdump] Annotate symbol names under `--symbolize-operands`.
Esme Yi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 16 18:13:03 PST 2022
Esme created this revision.
Esme added reviewers: shchenz, jsji, jhenderson, PowerPC, Higuoxing.
Herald added subscribers: rupprecht, nemanjai, emaste.
Herald added a reviewer: MaskRay.
Esme requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
We would like to disassemble an object file and annotate it with the variables that are being accessed.
This patch achieves the feature by walking through the relocations and annotate instructions with their target symbol names.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D117447
Files:
llvm/test/tools/llvm-objdump/ELF/PowerPC/disassemble-symbolize-operands.ll
llvm/test/tools/llvm-objdump/X86/disassemble-symbolize-operands.ll
llvm/test/tools/llvm-objdump/XCOFF/disassemble-symbolize-operands.ll
llvm/tools/llvm-objdump/llvm-objdump.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117447.400411.patch
Type: text/x-patch
Size: 4216 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220117/eeb39318/attachment.bin>
More information about the llvm-commits
mailing list