This patch adds the /linkreprofullpathrsp flag with the same behaviour as link.exe. This flag emits a file containing the full paths to each object passed to the link line. This is used in particular when linking Arm64X binaries, as you need the full path to all the Arm64 objects that were used in a standard Arm64 build. See: https://learn.microsoft.com/en-us/cpp/build/reference/link-repro-full-path-rsp for the Microsoft documentation of the flag. Relands #165449
65 lines
2.1 KiB
ReStructuredText
65 lines
2.1 KiB
ReStructuredText
.. If you want to modify sections/contents permanently, you should modify both
|
|
ReleaseNotes.rst and ReleaseNotesTemplate.txt.
|
|
|
|
===========================
|
|
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
|
|
----------------
|
|
|
|
* ``--print-gc-sections=<file>`` prints garbage collection section listing to a file.
|
|
(`#159706 <https://github.com/llvm/llvm-project/pull/159706>`_)
|
|
|
|
Breaking changes
|
|
----------------
|
|
|
|
COFF Improvements
|
|
-----------------
|
|
|
|
* ``/fat-lto-objects`` addded to support FatLTO. Without ``/fat-lto-objects`` or with ``/fat-lto-objects:no``, LLD will link LLVM FatLTO objects using the relocatable object file.
|
|
(`#165529 <https://github.com/llvm/llvm-project/pull/165529>`_)
|
|
* ``/linkreprofullpathrsp`` prints the full path to each object passed to the link line to a file.
|
|
(`#174971 <https://github.com/llvm/llvm-project/pull/165449>`_)
|
|
|
|
MinGW Improvements
|
|
------------------
|
|
|
|
MachO Improvements
|
|
------------------
|
|
|
|
* ``--separate-cstring-literal-sections`` emits cstring literal sections into sections defined by their section name.
|
|
(`#158720 <https://github.com/llvm/llvm-project/pull/158720>`_)
|
|
* ``--tail-merge-strings`` enables tail merging of cstring literals.
|
|
(`#161262 <https://github.com/llvm/llvm-project/pull/161262>`_)
|
|
|
|
WebAssembly Improvements
|
|
------------------------
|
|
|
|
* The ``--stack-first`` flag is now enabled by default. The old
|
|
behavior can be enabled using ``--no-stack-first``.
|
|
|
|
Fixes
|
|
#####
|