[all-commits] [llvm/llvm-project] c26dc2: [llvm-objcopy] Support --{, de}compress-debug-secti...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Jul 28 10:46:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c26dc2904b95b3685d883e760e84046ea6c33d7f
      https://github.com/llvm/llvm-project/commit/c26dc2904b95b3685d883e760e84046ea6c33d7f
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-07-28 (Thu, 28 Jul 2022)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-objcopy.rst
    M llvm/include/llvm/BinaryFormat/ELF.h
    M llvm/include/llvm/MC/MCTargetOptions.h
    M llvm/lib/ObjCopy/ELF/ELFObject.cpp
    M llvm/lib/ObjCopy/ELF/ELFObject.h
    M llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-default.test
    M llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test
    A llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zstd-err.test
    A llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zstd.test
    A llvm/test/tools/llvm-objcopy/ELF/decompress-debug-sections-err.test
    M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
    M llvm/tools/llvm-objcopy/ObjcopyOpts.td
    M llvm/utils/lit/lit/llvm/config.py

  Log Message:
  -----------
  [llvm-objcopy] Support --{,de}compress-debug-sections for zstd

Also, add ELFCOMPRESS_ZSTD (2) from the approved generic-abi proposal:
https://groups.google.com/g/generic-abi/c/satyPkuMisk
("Add new ch_type value: ELFCOMPRESS_ZSTD")

Link: https://discourse.llvm.org/t/rfc-zstandard-as-a-second-compression-method-to-llvm/63399
("[RFC] Zstandard as a second compression method to LLVM")

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




More information about the All-commits mailing list