[PATCH] D136636: [llvm-readelf] --section-details: display SHF_COMPRESSED headers
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 25 02:47:01 PDT 2022
jhenderson added inline comments.
================
Comment at: llvm/tools/llvm-readobj/ELFDumper.cpp:4196
+ if (!Data || Data->size() < sizeof(Elf_Chdr)) {
+ consumeError(Data.takeError());
+ OS << "[<corrupt>]";
----------------
I'm wondering if we should report this error as a warning. It might help the user know why their section is corrupt, for example.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136636/new/
https://reviews.llvm.org/D136636
More information about the llvm-commits
mailing list