Skip to content

Commit

Permalink
[docs] Add release notes for Windows specific changes in 18.x (llvm#8…
Browse files Browse the repository at this point in the history
  • Loading branch information
mstorsjo authored and tstellar committed Feb 14, 2024
1 parent 64fe7c3 commit f6d2106
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clang/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1203,6 +1203,8 @@ Windows Support
linking may succeed but the resulting executables may expose issues at
runtime.

- Clang now passes relevant LTO options to the linker (LLD) in MinGW mode.

LoongArch Support
^^^^^^^^^^^^^^^^^
- Added builtins support for all LSX (128-bits SIMD) and LASX (256-bits SIMD)
Expand Down
20 changes: 20 additions & 0 deletions lld/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,29 @@ COFF Improvements
* Added support for ``--time-trace`` and associated ``--time-trace-granularity``.
This generates a .json profile trace of the linker execution.

* LLD now prefers library paths specified with ``-libpath:`` over the implicitly
detected toolchain paths.

MinGW Improvements
------------------

* Added support for many LTO and ThinLTO options (most LTO options supported
by the ELF driver, that are implemented by the COFF backend as well,
should be supported now).

* LLD no longer tries to autodetect and use library paths from MSVC/WinSDK
installations when run in MinGW mode; that mode of operation shouldn't
ever be needed in MinGW mode, and could be a source of unexpected
behaviours.

* The ``--icf=safe`` option now works as expected; it was previously a no-op.

* More correctly handle LTO of files that define ``__imp_`` prefixed dllimport
redirections.

* The strip flags ``-S`` and ``-s`` now can be used to strip out DWARF debug
info and symbol tables while emitting a PDB debug info file.

MachO Improvements
------------------

Expand Down
15 changes: 15 additions & 0 deletions llvm/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,19 @@ Changes to the LLVM tools
* llvm-objcopy now supports ``--gap-fill`` and ``--pad-to`` options, for
ELF input and binary output files only.

* llvm-rc and llvm-windres now accept file path references in ``.rc`` files
concatenated from multiple string literals.

* The llvm-windres option ``--preprocessor`` now resolves its argument
in the PATH environment variable as expected, and options passed with
``--preprocessor-arg`` are placed before the input file as they should
be.

* The llvm-windres option ``--preprocessor`` has been updated with the
breaking behaviour change from GNU windres from binutils 2.36, where
the whole argument is considered as one path, not considered as a
sequence of tool name and parameters.

Changes to LLDB
---------------------------------

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

* On Windows, LLDB can now read the thread names.

Changes to Sanitizers
---------------------
* HWASan now defaults to detecting use-after-scope bugs.
Expand Down

0 comments on commit f6d2106

Please sign in to comment.