[PATCH] D109452: using symbol index and qualname for --sym --symbol--description for llvm-objdump
Digger Lin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 8 10:05:09 PDT 2021
DiggerLin created this revision.
DiggerLin added reviewers: hubert.reinterpretcast, sfertile.
Herald added subscribers: rupprecht, arphaman.
Herald added a reviewer: jhenderson.
Herald added a reviewer: MaskRay.
DiggerLin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
1. when using llvm-objdump --sym --symbol--description, print the symbol index and qualname for symbol.
2. llvm-objdump --sym , if the symbol is label, print the containing section for the symbol too.
for exapmple:
--symbol-description
00000000000000c0 l .text (csect: (idx: 2) .foov[PR]) (idx: 3) .foov
and without --symbol-description
00000000000000c0 l .text (csect: .foov) .foov
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D109452
Files:
llvm/include/llvm/Object/XCOFFObjectFile.h
llvm/test/tools/llvm-objdump/XCOFF/symbol-table.test
llvm/tools/llvm-objdump/XCOFFDump.cpp
llvm/tools/llvm-objdump/XCOFFDump.h
llvm/tools/llvm-objdump/llvm-objdump.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109452.371379.patch
Type: text/x-patch
Size: 5660 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210908/9e97cca1/attachment.bin>
More information about the llvm-commits
mailing list