[PATCH] D93096: [llvm-readelf] - Improve ELF type field dumping.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 11 02:24:14 PST 2020
grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Herald added subscribers: rupprecht, emaste.
Herald added a reviewer: espindola.
grimar requested review of this revision.
Herald added a project: LLVM.
This is related to https://bugs.llvm.org/show_bug.cgi?id=40868.
Currently we don't print `OS Specific`/``Processor Specific`/`<unknown>`
prefixes when dumping the ELF file type. This is not consistent
with GNU readelf. The patch fixes it.
Also, this patch removes the `types.test`, because we already have
`file-types.test`, which tests more cases and this patch revealed that
we have such a duplicate.
https://reviews.llvm.org/D93096
Files:
llvm/include/llvm/BinaryFormat/ELF.h
llvm/test/tools/llvm-readobj/ELF/file-types.test
llvm/test/tools/llvm-readobj/ELF/types.test
llvm/tools/llvm-readobj/ELFDumper.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93096.311147.patch
Type: text/x-patch
Size: 6669 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201211/c9956a74/attachment.bin>
More information about the llvm-commits
mailing list