1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/docs/ReleaseNotes.rst
Fangrui Song 3586ecfc1a [llvm-nm] Switch command line parsing from llvm::cl to OptTable
Part of https://lists.llvm.org/pipermail/llvm-dev/2021-July/151622.html
"Binary utilities: switch command line parsing from llvm::cl to OptTable"

Users should generally observe no difference as long as they only use intended
option forms. Behavior changes:

* `-t=d` is removed. Use `-t d` instead.
* `--demangle=0` cannot be used. Omit the option or use `--no-demangle` instead.
* `--help-list` is removed. This is a `cl::` specific option.

Note:

* `-t` diagnostic gets improved.
* This patch avoids cl::opt collision if we decide to support multiplexing for binary utilities
* One-dash long options are still supported.
* The `-s` collision (`-s segment section` for Mach-O) is unfortunate. `-s` means `--print-armap` in GNU nm.
* This patch removes the last `cl::multi_val` use case from the `llvm/lib/Support/CommandLine.cpp` library

`-M` (`--print-armap`), `-U` (`--defined-only`), and `-W` (`--no-weak`)
are now deprecated. They could conflict with future GNU nm options.
(--print-armap has an existing alias -s, so GNU will unlikely add a new one.
--no-weak (not in GNU nm) is rarely used anyway.)

`--just-symbol-name` is now deprecated in favor of
`--format=just-symbols` and `-j`.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D105330
2021-07-07 13:34:33 -07:00

202 lines
6.3 KiB
ReStructuredText

=========================
LLVM 13.0.0 Release Notes
=========================
.. contents::
:local:
.. warning::
These are in-progress notes for the upcoming LLVM 13 release.
Release notes for previous releases can be found on
`the Download Page <https://releases.llvm.org/download.html>`_.
Introduction
============
This document contains the release notes for the LLVM Compiler Infrastructure,
release 13.0.0. Here we describe the status of LLVM, including major improvements
from the previous release, improvements in various subprojects of LLVM, and
some of the current users of the code. All LLVM releases may be downloaded
from the `LLVM releases web site <https://llvm.org/releases/>`_.
For more information about LLVM, including information about the latest
release, please check out the `main LLVM web site <https://llvm.org/>`_. If you
have questions or comments, the `LLVM Developer's Mailing List
<https://lists.llvm.org/mailman/listinfo/llvm-dev>`_ is a good place to send
them.
Note that if you are reading this file from a Git checkout or the main
LLVM web page, this document applies to the *next* release, not the current
one. To see the release notes for a specific release, please see the `releases
page <https://llvm.org/releases/>`_.
Non-comprehensive list of changes in this release
=================================================
.. NOTE
For small 1-3 sentence descriptions, just add an entry at the end of
this list. If your description won't fit comfortably in one bullet
point (e.g. maybe you would like to give an example of the
functionality, or simply have a lot to talk about), see the `NOTE` below
for adding a new subsection.
.. NOTE
If you would like to document a larger change, then you can add a
subsection about it right here. You can copy the following boilerplate
and un-indent it (the indentation causes it to be inside this comment).
Special New Feature
-------------------
Makes programs 10x faster by doing Special New Thing.
* Windows Control-flow Enforcement Technology: the ``-ehcontguard`` option now
emits valid unwind entrypoints which are validated when the context is being
set during exception handling.
Changes to the LLVM IR
----------------------
* The ``inalloca`` attribute now has a mandatory type field, similar
to ``byval`` and ``sret``.
* The opaque pointer type ``ptr`` has been introduced. It is still in the
process of being worked on and should not be used yet.
Changes to building LLVM
------------------------
* The build system now supports building multiple distributions, so that you can
e.g. have one distribution containing just tools and another for libraries (to
enable development). See :ref:`Multi-distribution configurations` for details.
Changes to TableGen
-------------------
Changes to the AArch64 Backend
------------------------------
* Introduced support for Armv9-A's Realm Management Extension.
Changes to the ARM Backend
--------------------------
During this release ...
Changes to the MIPS Target
--------------------------
During this release ...
Changes to the Hexagon Target
-----------------------------
* The Hexagon target now supports V68/HVX ISA.
Changes to the PowerPC Target
-----------------------------
During this release ...
Changes to the X86 Target
-------------------------
During this release ...
Changes to the AMDGPU Target
-----------------------------
During this release ...
Changes to the AVR Target
-----------------------------
During this release ...
Changes to the WebAssembly Target
---------------------------------
During this release ...
Changes to the OCaml bindings
-----------------------------
Changes to the C API
--------------------
* The C API function ``LLVMIntrinsicCopyOverloadedName`` has been deprecated.
Please migrate to ``LLVMIntrinsicCopyOverloadedName2`` which takes an extra
module argument and which also handles unnamed types.
('D99173' <https://reviews.llvm.org/D99173>'_)
Changes to the Go bindings
--------------------------
Changes to the FastISel infrastructure
--------------------------------------
* FastISel no longer tracks killed registers, and instead leaves this to the
register allocator. This means that ``hasTrivialKill()`` is removed, as well
as the ``OpNIsKill`` parameters to the ``fastEmit_*()`` family of functions.
Changes to the DAG infrastructure
---------------------------------
Changes to the Debug Info
---------------------------------
During this release ...
Changes to the LLVM tools
---------------------------------
* The options ``--build-id-link-{dir,input,output}`` have been deleted.
(`D96310 <https://reviews.llvm.org/D96310>`_)
* Support for in-order processors has been added to ``llvm-mca``.
(`D94928 <https://reviews.llvm.org/D94928>`_)
* llvm-objdump supports ``-M {att,intel}`` now.
``--x86-asm-syntax`` is a deprecated internal option which will be removed in LLVM 14.0.0.
(`D101695 <https://reviews.llvm.org/D101695>`_)
* The llvm-readobj short aliases ``-s`` (previously ``--sections``) and ``-t``
(previously ``--syms``) have been changed to ``--syms`` and
``--section-details`` respectively, to match llvm-readelf.
(`D105055 <https://reviews.llvm.org/D105055>`_)
* The llvm-nm short aliases ``-M`` (``--print-armap``), ``-U``
(``--defined-only``), and ``-W`` (``--no-weak``) are now deprecated.
Use the long form versions instead.
The alias ``--just-symbol-name`` is now deprecated in favor of
``--format=just-symbols`` and ``-j``.
(`D105330 <https://reviews.llvm.org/D105330>`_)
Changes to LLDB
---------------------------------
Changes to Sanitizers
---------------------
External Open Source Projects Using LLVM 13
===========================================
* A project...
Additional Information
======================
A wide variety of additional information is available on the `LLVM web page
<https://llvm.org/>`_, in particular in the `documentation
<https://llvm.org/docs/>`_ section. The web page also contains versions of the
API documentation which is up-to-date with the Git version of the source
code. You can access versions of these documents specific to this release by
going into the ``llvm/docs/`` directory in the LLVM tree.
If you have any questions or comments about LLVM, please feel free to contact
us via the `mailing lists <https://llvm.org/docs/#mailing-lists>`_.