Skip to content

Commit f6d2106

Browse files
mstorsjotstellar
authored andcommitted
[docs] Add release notes for Windows specific changes in 18.x (llvm#80011)
1 parent 64fe7c3 commit f6d2106

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,6 +1203,8 @@ Windows Support
12031203
linking may succeed but the resulting executables may expose issues at
12041204
runtime.
12051205

1206+
- Clang now passes relevant LTO options to the linker (LLD) in MinGW mode.
1207+
12061208
LoongArch Support
12071209
^^^^^^^^^^^^^^^^^
12081210
- Added builtins support for all LSX (128-bits SIMD) and LASX (256-bits SIMD)

lld/docs/ReleaseNotes.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,29 @@ COFF Improvements
8383
* Added support for ``--time-trace`` and associated ``--time-trace-granularity``.
8484
This generates a .json profile trace of the linker execution.
8585

86+
* LLD now prefers library paths specified with ``-libpath:`` over the implicitly
87+
detected toolchain paths.
88+
8689
MinGW Improvements
8790
------------------
8891

92+
* Added support for many LTO and ThinLTO options (most LTO options supported
93+
by the ELF driver, that are implemented by the COFF backend as well,
94+
should be supported now).
95+
96+
* LLD no longer tries to autodetect and use library paths from MSVC/WinSDK
97+
installations when run in MinGW mode; that mode of operation shouldn't
98+
ever be needed in MinGW mode, and could be a source of unexpected
99+
behaviours.
100+
101+
* The ``--icf=safe`` option now works as expected; it was previously a no-op.
102+
103+
* More correctly handle LTO of files that define ``__imp_`` prefixed dllimport
104+
redirections.
105+
106+
* The strip flags ``-S`` and ``-s`` now can be used to strip out DWARF debug
107+
info and symbol tables while emitting a PDB debug info file.
108+
89109
MachO Improvements
90110
------------------
91111

llvm/docs/ReleaseNotes.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,19 @@ Changes to the LLVM tools
320320
* llvm-objcopy now supports ``--gap-fill`` and ``--pad-to`` options, for
321321
ELF input and binary output files only.
322322

323+
* llvm-rc and llvm-windres now accept file path references in ``.rc`` files
324+
concatenated from multiple string literals.
325+
326+
* The llvm-windres option ``--preprocessor`` now resolves its argument
327+
in the PATH environment variable as expected, and options passed with
328+
``--preprocessor-arg`` are placed before the input file as they should
329+
be.
330+
331+
* The llvm-windres option ``--preprocessor`` has been updated with the
332+
breaking behaviour change from GNU windres from binutils 2.36, where
333+
the whole argument is considered as one path, not considered as a
334+
sequence of tool name and parameters.
335+
323336
Changes to LLDB
324337
---------------------------------
325338

@@ -360,6 +373,8 @@ Changes to LLDB
360373
fields are present, however this is not always possible or entirely
361374
accurate. If in doubt, refer to the numerical value.
362375

376+
* On Windows, LLDB can now read the thread names.
377+
363378
Changes to Sanitizers
364379
---------------------
365380
* HWASan now defaults to detecting use-after-scope bugs.

0 commit comments

Comments
 (0)