lld 24.0.0git Release Notes¶
Warning
These are in-progress notes for the upcoming LLVM 24.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 24.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¶
Breaking changes¶
COFF Improvements¶
MinGW Improvements¶
MachO Improvements¶
__objc_stubsentries are now ordered by the priority of the sections that call them, so that stubs reached from prioritized code are laid out together. This applies whenever section priorities exist, such as with-order_file.Added
--warn-missing-subsections-via-symbolsand--no-warn-missing-subsections-via-symbolsto lld to warn when input object files lack theMH_SUBSECTIONS_VIA_SYMBOLSflag, which prevents dead-stripping and subsection splitting.
WebAssembly Improvements¶
Added support for resolving and merging common data symbols (allocating them into .bss.common in executable/shared module links, or merging them with max size/alignment in relocatable -r links). See https://github.com/WebAssembly/tool-conventions/pull/267
