lld 23.0.0git Release Notes¶
Warning
These are in-progress notes for the upcoming LLVM 23.0.0git release. Release notes for previous releases can be found on the Download Page.
Introduction¶
This document contains the release notes for the lld linker, release 23.0.0git. 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.
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-sortmodes 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_prioritycontrols group placement order (lower value = placed first, default 0).match_priorityresolves 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¶
COFF Improvements¶
MinGW Improvements¶
MachO Improvements¶
--bp-compression-sort-sectionnow 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).
