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

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Feb 23 12:52:25 PST 2024


  Branch: refs/heads/release/18.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ba68ab9b41f8c4d1fd6d31d64e8030fe224c02e
      https://github.com/llvm/llvm-project/commit/4ba68ab9b41f8c4d1fd6d31d64e8030fe224c02e
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-02-23 (Fri, 23 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

(cherry picked from commit 26d71d9ed56c4c23e6284dac7a9bdf603a5801f3)



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