2019-10-23 13:52:45 -04:00
|
|
|
========================
|
2020-07-26 15:36:28 -04:00
|
|
|
lld 11.0.0 Release Notes
|
2019-10-23 13:52:45 -04:00
|
|
|
========================
|
2016-07-23 16:48:50 -04:00
|
|
|
|
|
|
|
|
.. contents::
|
|
|
|
|
:local:
|
|
|
|
|
|
2017-12-18 15:12:21 -05:00
|
|
|
.. warning::
|
2020-07-26 15:36:28 -04:00
|
|
|
These are in-progress notes for the upcoming LLVM 11.0.0 release.
|
2017-12-18 15:12:21 -05:00
|
|
|
Release notes for previous releases can be found on
|
2019-01-19 05:05:49 -05:00
|
|
|
`the Download Page <https://releases.llvm.org/download.html>`_.
|
2017-12-18 15:12:21 -05:00
|
|
|
|
2016-07-23 16:48:50 -04:00
|
|
|
Introduction
|
|
|
|
|
============
|
|
|
|
|
|
2020-07-26 15:36:28 -04:00
|
|
|
This document contains the release notes for the lld linker, release 11.0.0.
|
2018-07-28 07:08:33 -04:00
|
|
|
Here we describe the status of lld, including major improvements
|
|
|
|
|
from the previous release. All lld releases may be downloaded
|
2019-01-19 05:05:49 -05:00
|
|
|
from the `LLVM releases web site <https://llvm.org/releases/>`_.
|
2016-07-23 16:48:50 -04:00
|
|
|
|
2017-04-16 12:03:39 -04:00
|
|
|
Non-comprehensive list of changes in this release
|
|
|
|
|
=================================================
|
2016-08-24 13:38:40 -04:00
|
|
|
|
2017-01-02 14:19:15 -05:00
|
|
|
ELF Improvements
|
2016-07-23 16:48:50 -04:00
|
|
|
----------------
|
|
|
|
|
|
2020-07-26 15:36:28 -04:00
|
|
|
* New ``--time-trace`` option records a time trace file that can be viewed in
|
|
|
|
|
chrome://tracing. The file can be specified with ``--time-trace-file``.
|
|
|
|
|
Trace granularity can be specified with ``--time-trace-granularity``.
|
|
|
|
|
(`D71060 <https://reviews.llvm.org/D71060>`_)
|
2020-08-24 13:20:50 -04:00
|
|
|
* For ARM architectures the default max page size was increased to 64k.
|
|
|
|
|
This increases compatibility with systems where a non standard page
|
|
|
|
|
size was configured. This also is inline with GNU ld defaults.
|
|
|
|
|
(`D77330 <https://reviews.llvm.org/D77330>`_)
|
2020-07-26 15:36:28 -04:00
|
|
|
* ...
|
|
|
|
|
|
|
|
|
|
Breaking changes
|
|
|
|
|
----------------
|
|
|
|
|
|
|
|
|
|
* One-dash form of some long option (``--thinlto-*``, ``--lto-*``, ``--shuffle-sections=``)
|
|
|
|
|
are no longer supported.
|
|
|
|
|
* ``--export-dynamic-symbol`` no longer implies ``-u``.
|
2019-01-19 05:05:49 -05:00
|
|
|
|
2019-08-20 16:51:32 -04:00
|
|
|
COFF Improvements
|
|
|
|
|
-----------------
|
2019-01-19 05:05:49 -05:00
|
|
|
|
2020-08-24 13:20:50 -04:00
|
|
|
* Fixed exporting symbols whose names contain a period (``.``), which was
|
|
|
|
|
a regression in lld 7.
|
2019-01-19 05:05:49 -05:00
|
|
|
|
|
|
|
|
MinGW Improvements
|
|
|
|
|
------------------
|
|
|
|
|
|
2020-08-24 13:20:50 -04:00
|
|
|
* Implemented new options for disabling auto import and runtime pseudo
|
|
|
|
|
relocations (``--disable-auto-import`` and
|
|
|
|
|
``--disable-runtime-pseudo-reloc``), the ``--no-seh`` flag and options
|
|
|
|
|
for selecting file and section alignment (``--file-alignment`` and
|
|
|
|
|
``--section-alignment``).
|
2017-04-16 12:03:39 -04:00
|
|
|
|
2017-12-18 15:12:21 -05:00
|
|
|
MachO Improvements
|
|
|
|
|
------------------
|
2017-07-29 17:30:27 -04:00
|
|
|
|
2017-12-18 15:12:21 -05:00
|
|
|
* Item 1.
|
2019-01-19 05:05:49 -05:00
|
|
|
|
|
|
|
|
WebAssembly Improvements
|
|
|
|
|
------------------------
|
|
|
|
|
|