2025-08-15 19:00:08 +08:00
|
|
|
.. If you want to modify sections/contents permanently, you should modify both
|
|
|
|
|
ReleaseNotes.rst and ReleaseNotesTemplate.txt.
|
|
|
|
|
|
2022-02-01 23:13:01 -08:00
|
|
|
===========================
|
|
|
|
|
lld |release| Release Notes
|
|
|
|
|
===========================
|
2016-02-16 13:12:55 +00:00
|
|
|
|
|
|
|
|
.. contents::
|
|
|
|
|
:local:
|
|
|
|
|
|
2022-02-01 23:13:01 -08:00
|
|
|
.. 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>`_.
|
2016-02-16 13:12:55 +00:00
|
|
|
|
|
|
|
|
Introduction
|
|
|
|
|
============
|
|
|
|
|
|
2022-02-01 23:13:01 -08:00
|
|
|
This document contains the release notes for the lld linker, release |release|.
|
2018-02-23 08:27:38 +00:00
|
|
|
Here we describe the status of lld, including major improvements
|
|
|
|
|
from the previous release. All lld releases may be downloaded
|
2018-09-10 08:52:31 +00:00
|
|
|
from the `LLVM releases web site <https://llvm.org/releases/>`_.
|
2016-02-16 13:12:55 +00:00
|
|
|
|
|
|
|
|
Non-comprehensive list of changes in this release
|
|
|
|
|
=================================================
|
|
|
|
|
|
|
|
|
|
ELF Improvements
|
|
|
|
|
----------------
|
2025-03-26 09:56:33 -07:00
|
|
|
|
2025-09-19 09:22:37 -07:00
|
|
|
* ``--print-gc-sections=<file>`` prints garbage collection section listing to a file.
|
|
|
|
|
(`#159706 <https://github.com/llvm/llvm-project/pull/159706>`_)
|
|
|
|
|
|
2020-05-04 14:42:36 -07:00
|
|
|
Breaking changes
|
|
|
|
|
----------------
|
2025-05-21 09:19:47 -07:00
|
|
|
|
2016-02-16 13:12:55 +00:00
|
|
|
COFF Improvements
|
|
|
|
|
-----------------
|
|
|
|
|
|
2018-10-05 19:43:20 +00:00
|
|
|
MinGW Improvements
|
|
|
|
|
------------------
|
|
|
|
|
|
2016-02-16 13:12:55 +00:00
|
|
|
MachO Improvements
|
|
|
|
|
------------------
|
|
|
|
|
|
2025-09-29 16:28:40 -07:00
|
|
|
* ``--separate-cstring-literal-sections`` emits cstring literal sections into sections defined by their section name.
|
|
|
|
|
(`#158720 <https://github.com/llvm/llvm-project/pull/158720>`_)
|
2025-10-03 09:38:10 -07:00
|
|
|
* ``--tail-merge-strings`` enables tail merging of cstring literals.
|
|
|
|
|
(`#161262 <https://github.com/llvm/llvm-project/pull/161262>`_)
|
2025-09-29 16:28:40 -07:00
|
|
|
|
2018-11-15 00:37:21 +00:00
|
|
|
WebAssembly Improvements
|
|
|
|
|
------------------------
|
|
|
|
|
|
2025-11-07 16:27:06 -08:00
|
|
|
* The ``--stack-first`` flag is now enabled by default. The old
|
|
|
|
|
behavior can be enabled using ``--no-stack-first``.
|
|
|
|
|
|
2023-04-11 18:14:40 +01:00
|
|
|
Fixes
|
|
|
|
|
#####
|