CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
81 lines
2.9 KiB
ReStructuredText
81 lines
2.9 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
|
|
----------------
|
|
|
|
* Added ``--bp-compression-sort-section=<glob>[=<layout_priority>[=<match_priority>]]``,
|
|
replacing the old coarse ``--bp-compression-sort`` modes with a way to split
|
|
input sections into multiple compression groups, run balanced partitioning
|
|
independently per group, and leave out sections that are poor candidates for
|
|
BP.
|
|
``layout_priority`` controls group placement order (lower value = placed
|
|
first, default 0). ``match_priority`` resolves conflicts when multiple globs
|
|
match the same section (lower value = higher priority; explicit priority
|
|
beats positional last-match-wins; default: positional). In ELF, the glob
|
|
matches input section names (e.g. ``.text.unlikely.code1``).
|
|
|
|
Breaking changes
|
|
----------------
|
|
|
|
* The symbol partition feature has been removed. lld no longer recognizes
|
|
``SHT_LLVM_SYMPART`` sections, which are now treated as ordinary sections. The
|
|
feature saw no adoption beyond a Chromium experiment that has since been
|
|
retired.
|
|
|
|
* An OutputSection that has an address expression, and is also assigned
|
|
to a MEMORY region, will now use the address expression in preference
|
|
to the next available location in the MEMORY region. This brings LLD
|
|
in line with GNU ld, but is a change in behavior from previous LLD
|
|
releases.
|
|
|
|
COFF Improvements
|
|
-----------------
|
|
|
|
MinGW Improvements
|
|
------------------
|
|
|
|
* Added ``--push-state`` and ``--pop-state``, offering the same semantics as
|
|
when used with the ELF linker: The state of ``--Bstatic``/``--Bdynamic`` and
|
|
``--whole-archive`` are pushed onto a stack and popped from it.
|
|
|
|
MachO Improvements
|
|
------------------
|
|
|
|
* ``--bp-compression-sort-section`` now accepts optional layout and match
|
|
priorities (same syntax as ELF). In Mach-O, the glob matches the
|
|
concatenated segment+section name (e.g. ``__TEXT__text``).
|
|
* Restructure thunk generation algorithm to be more efficiently create thunks
|
|
(`#193367 <https://github.com/llvm/llvm-project/pull/193367>`_)
|
|
|
|
WebAssembly Improvements
|
|
------------------------
|
|
|
|
Fixes
|
|
#####
|