[all-commits] [llvm/llvm-project] e7b360: [llvm-readelf] --section-details: display SHF_COMP...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Oct 27 09:25:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7b360fbbbf0a1e06ff0373928ff44abdbeb2fa8
      https://github.com/llvm/llvm-project/commit/e7b360fbbbf0a1e06ff0373928ff44abdbeb2fa8
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-10-27 (Thu, 27 Oct 2022)

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

  Log Message:
  -----------
  [llvm-readelf] --section-details: display SHF_COMPRESSED headers

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.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D136636




More information about the All-commits mailing list