lld 18.0.0git Release Notes

Warning

These are in-progress notes for the upcoming LLVM 18.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 18.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

  • --fat-lto-objects option is added to support LLVM FatLTO. Without --fat-lto-objects, LLD will link LLVM FatLTO objects using the relocatable object file. (D146778)

  • common-page-size can now be larger than the system page-size. (#57618)

Breaking changes

COFF Improvements

  • Added support for --time-trace and associated --time-trace-granularity. This generates a .json profile trace of the linker execution.

MinGW Improvements

MachO Improvements

WebAssembly Improvements

Fixes