[lld] [ELF] Add --compress-nonalloc-section (PR #84855)
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 11 17:12:51 PDT 2024
================
@@ -450,20 +470,18 @@ void OutputSection::writeTo(uint8_t *buf, parallel::TaskGroup &tg) {
if (type == SHT_NOBITS)
return;
- // If --compress-debug-section is specified and if this is a debug section,
- // we've already compressed section contents. If that's the case,
- // just write it down.
+ // If the section is compressed due to
+ // --compress-debug-section/--compress-sections, the content is already known.
----------------
petrhosek wrote:
```suggestion
// --compress-debug-section/--compress-nonalloc-sections, the content is already known.
```
https://github.com/llvm/llvm-project/pull/84855
More information about the llvm-commits
mailing list