[all-commits] [llvm/llvm-project] 26d71d: [llvm-readobj, ELF] Support --decompress/-z (#82594)

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Feb 22 09:24:34 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26d71d9ed56c4c23e6284dac7a9bdf603a5801f3
      https://github.com/llvm/llvm-project/commit/26d71d9ed56c4c23e6284dac7a9bdf603a5801f3
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-02-22 (Thu, 22 Feb 2024)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-readelf.rst
    M llvm/docs/CommandGuide/llvm-readobj.rst
    A llvm/test/tools/llvm-readobj/ELF/decompress-zlib-unsupported.test
    A llvm/test/tools/llvm-readobj/ELF/decompress-zlib.test
    A llvm/test/tools/llvm-readobj/ELF/decompress-zstd-unsupported.test
    A llvm/test/tools/llvm-readobj/ELF/decompress-zstd.test
    M llvm/tools/llvm-readobj/ObjDumper.cpp
    M llvm/tools/llvm-readobj/ObjDumper.h
    M llvm/tools/llvm-readobj/Opts.td
    M llvm/tools/llvm-readobj/llvm-readobj.cpp

  Log Message:
  -----------
  [llvm-readobj,ELF] Support --decompress/-z (#82594)

When a section has the SHF_COMPRESSED flag, -p/-x dump the compressed
content by default. In GNU readelf, if --decompress/-z is specified,
-p/-x will dump the decompressed content. This patch implements the
option.

Close #82507



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list