[all-commits] [llvm/llvm-project] 5e0464: [ELF] Support ELFCOMPRESS_ZSTD input

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Sep 9 10:25:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e0464e38bcb63186e5c5eaafe550e92143cab43
      https://github.com/llvm/llvm-project/commit/5e0464e38bcb63186e5c5eaafe550e92143cab43
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M lld/ELF/InputSection.cpp
    M lld/docs/ReleaseNotes.rst
    M lld/test/CMakeLists.txt
    A lld/test/ELF/compress-debug-sections-zstd.s
    A lld/test/ELF/compressed-input-err-zstd.s
    M lld/test/ELF/gdb-index.s
    M lld/test/lit.site.cfg.py.in

  Log Message:
  -----------
  [ELF] Support ELFCOMPRESS_ZSTD input

so that lld accepts relocatable object files produced by `clang -c -g -gz=zstd`.

We don't want to increase the size of InputSection, so do redundant but cheap
ch_type checks instead.

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




More information about the All-commits mailing list