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.
Paths
| Differential D129406
[ELF] Support ELFCOMPRESS_ZSTD input ClosedPublic Authored by MaskRay on Jul 8 2022, 3:47 PM.
Details
Summary 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
Diff Detail
Event TimelineMaskRay retitled this revision from WIP [ELF] Support ELFCOMPRESS_ZSTD input to [ELF] Support ELFCOMPRESS_ZSTD input. Comment ActionsFix gdb-index MaskRay added a child revision: D133548: [ELF] Add --compress-debug-sections=zstd.Sep 8 2022, 7:03 PM Closed by commit rG5e0464e38bcb: [ELF] Support ELFCOMPRESS_ZSTD input (authored by MaskRay). · Explain Why This revision was automatically updated to reflect the committed changes. Comment Actions
Happy to address changes if @ikudrin or @peter.smith has any suggestion. Comment Actions
The LLVM review process is that if something's sent for review it should not be committed until that review is completed ( https://llvm.org/docs/CodeReview.html#code-review-workflow "Specifically, once a patch is sent out for review, it needs an explicit approval before it is committed. Do not assume silent approval, or solicit objections to a patch with a deadline." ) . (we don't want to encourage people to send things for review that they believe needs review, then commit due to lack of feedback in the time they'd like to receive it)
Revision Contents
Diff 459116 lld/ELF/InputSection.cpp
lld/docs/ReleaseNotes.rst
lld/test/CMakeLists.txt
lld/test/ELF/compress-debug-sections-zstd.s
lld/test/ELF/compressed-input-err-zstd.s
lld/test/ELF/gdb-index.s
lld/test/lit.site.cfg.py.in
|