[PATCH] D136636: [llvm-readelf] --section-details: display SHF_COMPRESSED headers

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 24 13:37:47 PDT 2022


MaskRay created this revision.
MaskRay added a reviewer: jhenderson.
Herald added subscribers: StephenFan, emaste.
Herald added a project: All.
MaskRay requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

readelf --section-details displays ch_type/ch_size/ch_addralign for
a SHF_COMPRESSED section. Port the feature. There is a small difference
that readelf doesn't display `[<corrupt>]` for an empty section while
we do.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136636

Files:
  llvm/include/llvm/Object/ELFTypes.h
  llvm/test/tools/llvm-readobj/ELF/section-details.test
  llvm/tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136636.470279.patch
Type: text/x-patch
Size: 9863 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221024/f6e566f5/attachment.bin>


More information about the llvm-commits mailing list