[all-commits] [llvm/llvm-project] cfa976: [ELF] Retain uncompressed if compressed content is...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed May 22 15:55:43 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cfa97699f76761f25c4c4b686a503466c427afce
https://github.com/llvm/llvm-project/commit/cfa97699f76761f25c4c4b686a503466c427afce
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-22 (Wed, 22 May 2024)
Changed paths:
M lld/ELF/Options.td
M lld/ELF/OutputSections.cpp
M lld/docs/ld.lld.1
M lld/test/ELF/compress-debug-sections-zstd.s
M lld/test/ELF/compress-sections.s
Log Message:
-----------
[ELF] Retain uncompressed if compressed content is larger
--compress-debug-sections in GNU ld, gas, and LLVM integrated assembler
retain the uncompressed content if the compressed content is larger.
This patch also updates the manpage (-O2 does not enable zlib level 6)
and fixes a crash of --compress-sections when the uncompressed section
is empty.
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