[PATCH] D109452: using symbol index and qualname for --sym --symbol--description for llvm-objdump for xcoff
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 10 00:51:39 PDT 2021
jhenderson added inline comments.
================
Comment at: llvm/tools/llvm-objdump/llvm-objdump.cpp:2070
if (Common || O->isELF()) {
uint64_t Val =
----------------
hubert.reinterpretcast wrote:
> @DiggerLin, at least some XCOFF symbols have size fields. This could be handled in a separate patch if that is your preference (in which case, please add a TODO comment to the code).
>
> @jhenderson, at least for XCOFF, I would prefer to always have the field (even if empty). I am not convinced that having it present only for "common" symbols for non-ELF formats is good.
At least for ELF format, we are tied by the need to match GNU objdump output as closely as practical. I've no issue it being different for other formats that don't have a GNU objdump implementation they are trying to mirror.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109452/new/
https://reviews.llvm.org/D109452
More information about the llvm-commits
mailing list