zstd excels at scaling from low-ratio-very-fast to high-ratio-pretty-slow. Some users prioritize speed and prefer disk read speed, while others focus on achieving the highest compression ratio possible, similar to traditional high-ratio codecs like LZMA. Add an optional `level` to `--compress-sections` (#84855) to cater to these diverse needs. While we initially aimed for a one-size-fits-all approach, this no longer seems to work. (https://richg42.blogspot.com/2015/11/the-lossless-decompression-pareto.html) When --compress-debug-sections is used together, make --compress-sections take precedence since --compress-sections is usually more specific. Remove the level distinction between -O/-O1 and -O2 for --compress-debug-sections=zlib for a more consistent user experience. Pull Request: https://github.com/llvm/llvm-project/pull/90567
59 lines
1.8 KiB
ReStructuredText
59 lines
1.8 KiB
ReStructuredText
===========================
|
|
lld |release| Release Notes
|
|
===========================
|
|
|
|
.. contents::
|
|
:local:
|
|
|
|
.. only:: PreRelease
|
|
|
|
.. warning::
|
|
These are in-progress notes for the upcoming LLVM |release| release.
|
|
Release notes for previous releases can be found on
|
|
`the Download Page <https://releases.llvm.org/download.html>`_.
|
|
|
|
Introduction
|
|
============
|
|
|
|
This document contains the release notes for the lld linker, release |release|.
|
|
Here we describe the status of lld, including major improvements
|
|
from the previous release. All lld releases may be downloaded
|
|
from the `LLVM releases web site <https://llvm.org/releases/>`_.
|
|
|
|
Non-comprehensive list of changes in this release
|
|
=================================================
|
|
|
|
ELF Improvements
|
|
----------------
|
|
|
|
* ``--compress-sections <section-glib>={none,zlib,zstd}[:level]`` is added to compress
|
|
matched output sections without the ``SHF_ALLOC`` flag.
|
|
(`#84855 <https://github.com/llvm/llvm-project/pull/84855>`_)
|
|
(`#90567 <https://github.com/llvm/llvm-project/pull/90567>`_)
|
|
* The default compression level for zlib is now independent of linker
|
|
optimization level (``Z_BEST_SPEED``).
|
|
* ``GNU_PROPERTY_AARCH64_FEATURE_PAUTH`` notes, ``R_AARCH64_AUTH_ABS64`` and
|
|
``R_AARCH64_AUTH_RELATIVE`` relocations are now supported.
|
|
(`#72714 <https://github.com/llvm/llvm-project/pull/72714>`_)
|
|
* ``--debug-names`` is added to create a merged ``.debug_names`` index
|
|
from input ``.debug_names`` sections. Type units are not handled yet.
|
|
(`#86508 <https://github.com/llvm/llvm-project/pull/86508>`_)
|
|
|
|
Breaking changes
|
|
----------------
|
|
|
|
COFF Improvements
|
|
-----------------
|
|
|
|
MinGW Improvements
|
|
------------------
|
|
|
|
MachO Improvements
|
|
------------------
|
|
|
|
WebAssembly Improvements
|
|
------------------------
|
|
|
|
Fixes
|
|
#####
|