]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lld/docs/ReleaseNotes.rst
Merge lld trunk r366426, and resolve conflicts.
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lld / docs / ReleaseNotes.rst
1 =======================
2 lld 9.0.0 Release Notes
3 =======================
4
5 .. contents::
6     :local:
7
8 .. warning::
9    These are in-progress notes for the upcoming LLVM 9.0.0 release.
10    Release notes for previous releases can be found on
11    `the Download Page <https://releases.llvm.org/download.html>`_.
12
13 Introduction
14 ============
15
16 This document contains the release notes for the lld linker, release 9.0.0.
17 Here we describe the status of lld, including major improvements
18 from the previous release. All lld releases may be downloaded
19 from the `LLVM releases web site <https://llvm.org/releases/>`_.
20
21 Non-comprehensive list of changes in this release
22 =================================================
23
24 ELF Improvements
25 ----------------
26
27 * ld.lld now has typo suggestions for flags:
28   ``$ ld.lld --call-shared`` now prints
29   ``unknown argument '--call-shared', did you mean '--call_shared'``.
30
31 * ...
32
33 COFF Improvements
34 -----------------
35
36 * Like the ELF driver, lld-link now has typo suggestions for flags.
37
38 * lld-link now correctly reports duplicate symbol errors for obj files
39   that were compiled with /Gy.
40
41 * lld-link now correctly reports duplicate symbol errors when several res
42   input files define resources with the same type, name, and language.
43   This can be demoted to a warning using ``/force:multipleres``.
44
45 * Having more than two ``/natvis:`` now works correctly; it used to not
46   work for larger binaries before.
47
48 * Undefined symbols are now printed only in demangled form. Pass
49   ``/demangle:no`` to see raw symbol names instead.
50
51 * The following flags have been added: ``/functionpadmin``, ``/swaprun:``,
52   ``/threads:no``
53
54 * Several speed and memory usage improvements.
55
56 * ...
57
58 MinGW Improvements
59 ------------------
60
61 * lld now correctly links crtend.o as the last object file, handling
62   terminators for the sections such as .eh_frame properly, fixing
63   DWARF exception handling with libgcc and gcc's crtend.o.
64
65 MachO Improvements
66 ------------------
67
68 * Item 1.
69
70 WebAssembly Improvements
71 ------------------------
72
73 * ...