Skip to content

Commit

Permalink
[docs] Add release notes for things that I've been involved in
Browse files Browse the repository at this point in the history
  • Loading branch information
mstorsjo committed Feb 9, 2022
1 parent f5f0bd8 commit 8344ab9
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 2 deletions.
14 changes: 14 additions & 0 deletions clang/docs/ReleaseNotes.rst
Expand Up @@ -81,6 +81,10 @@ New Compiler Flags
- The ``-mno-bti-at-return-twice`` flag will make sure a BTI instruction won't
be added after a setjmp or possible other return-twice construct (ARM backend
only).
- The ``--start-no-unused-arguments`` and ``--end-no-unused-arguments`` flags
allow silencing warnings about unused arguments for only a subset of
the command line arguments, keeping potential warnings for other arguments
outside of such a region.

Deprecated Compiler Flags
-------------------------
Expand Down Expand Up @@ -164,6 +168,16 @@ Windows Support

- Support for on-demand initialization of TLS variables was added.

- Improved code generation for ARM, by assuming less strict alignment
requirements for instructions (just like other OSes do).

- Fixed using the ``-m32`` flag in x86_64 MinGW setups, by e.g. making ``-m32``
pick i686 instead of i386, if there is no i386 sysroot, but only one for
i686.

- Fixed passing the ``--no-demangle`` option through to the linker for MinGW
targets.

C Language Changes in Clang
---------------------------

Expand Down
9 changes: 7 additions & 2 deletions lld/docs/ReleaseNotes.rst
Expand Up @@ -58,12 +58,17 @@ Breaking changes
COFF Improvements
-----------------

* ...
* Correctly handle a signed immediate offset in ARM64 adr/adrp relocations.
(`D114347 <https://reviews.llvm.org/D114347>`_)

* Omit section and label symbols from the symbol table.
(`D113866 <https://reviews.llvm.org/D113866>`_)

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

* ...
* ``--heap`` is now handled.
(`D118405 <https://reviews.llvm.org/D118405>`_)

MachO Improvements
------------------
Expand Down
30 changes: 30 additions & 0 deletions llvm/docs/ReleaseNotes.rst
Expand Up @@ -80,12 +80,17 @@ Changes to the AArch64 Backend
the use of the -mtune frontend flag. This allows certain scheduling features
and optimisations to be enabled independently of the architecture. If the
"tune-cpu" attribute is absent it tunes according to the "target-cpu".
* Fixed relocations against temporary symbols (e.g. in jump tables and
constant pools) in large COFF object files.

Changes to the ARM Backend
--------------------------

* Added support for the Armv9-A, Armv9.1-A and Armv9.2-A architectures.
* Added support for the Armv8.1-M PACBTI-M extension.
* Changed the assembly comment string for MSVC targets to ``@`` (consistent
with the MinGW and ELF targets), freeing up ``;`` to be used as
statement separator.

Changes to the MIPS Target
--------------------------
Expand Down Expand Up @@ -124,6 +129,24 @@ Changes to the WebAssembly Target

During this release ...

Changes to the Windows Target
-----------------------------

* Changed how the ``.pdata`` sections refer to the code they're describing,
to avoid conflicting unwind info if weak symbols are overridden.

* Fixed code generation for calling support routines for converting 128 bit
integers from/to floats on x86_64.

* The preferred path separator form (backslashes or forward slashes) can be
configured in Windows builds of LLVM now, with the
``LLVM_WINDOWS_PREFER_FORWARD_SLASH`` CMake option. This defaults to
true in MinGW builds of LLVM.

* Set proper COFF symbol types for function aliases (e.g. for Itanium C++
constructors), making sure that GNU ld exports all of them correctly as
functions, not data, when linking a DLL.

Changes to the OCaml bindings
-----------------------------

Expand All @@ -134,6 +157,9 @@ Changes to the C API
* ``LLVMSetInstDebugLocation`` has been deprecated in favor of the more general
``LLVMAddMetadataToInst``.

* Fixed building LLVM-C.dll for i386 targets with MSVC, which had been broken
since the LLVM 8.0.0 release.

Changes to the Go bindings
--------------------------

Expand All @@ -159,6 +185,8 @@ Changes to the LLVM tools
`-name-whitelist` is marked as deprecated and to be removed in future
releases.

* llvm-readobj: Improved printing of symbols in Windows unwind data.

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

Expand All @@ -177,6 +205,8 @@ Changes to LLDB
* The ``memory read`` command has a new option ``--show-tags``. Use this option
to show memory tags beside the contents of tagged memory ranges.

* Fixed continuing from breakpoints and singlestepping on Windows on ARM/ARM64.

Changes to Sanitizers
---------------------

Expand Down

0 comments on commit 8344ab9

Please sign in to comment.