Skip to content

Commit 51a4700

Browse files
mplatingstru
authored andcommitted
Multilib & mfloat-abi release notes
1 parent 0af7e5e commit 51a4700

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,10 @@ New Compiler Flags
290290
individual relocations in the program will generally increase.
291291
- ``-f[no-]assume-unique-vtables`` controls whether Clang assumes that each
292292
class has a unique vtable address, when that is required by the ABI.
293+
- ``-print-multi-flags-experimental`` prints the flags used for multilib
294+
selection. See `the multilib docs <https://clang.llvm.org/docs/Multilib.html>`_
295+
for more details.
296+
293297

294298
Deprecated Compiler Flags
295299
-------------------------
@@ -883,6 +887,10 @@ Arm and AArch64 Support
883887
``-mfloat-abi=hard`` or a triple ending in ``hf``) would silently
884888
use the soft-float ABI instead.
885889

890+
- Clang now emits ``-Wunsupported-abi`` if the hard-float ABI is specified
891+
and the selected processor lacks floating point registers.
892+
(`#55755 <https://github.com/llvm/llvm-project/issues/55755>`_)
893+
886894
- Clang builtin ``__arithmetic_fence`` and the command line option ``-fprotect-parens``
887895
are now enabled for AArch64.
888896

@@ -898,6 +906,9 @@ Arm and AArch64 Support
898906
- Fix a crash when ``preserve_all`` calling convention is used on AArch64.
899907
`Issue 58145 <https://github.com/llvm/llvm-project/issues/58145>`_
900908

909+
- Clang now warns if invalid target triples ``--target=aarch64-*-eabi`` or
910+
``--target=arm-*-elf`` are specified.
911+
901912
Windows Support
902913
^^^^^^^^^^^^^^^
903914

@@ -1131,6 +1142,12 @@ The following methods have been added:
11311142
- ``clang_Location_isInSystemHeader`` exposed via the ``is_in_system_header``
11321143
property of the `Location` class.
11331144

1145+
Configurable Multilib
1146+
---------------------
1147+
The BareMetal toolchain for AArch64 & ARM now supports multilib, configurable
1148+
via ``multilib.yaml``. See `the multilib docs <https://clang.llvm.org/docs/Multilib.html>`_
1149+
for more details.
1150+
11341151
Additional Information
11351152
======================
11361153

0 commit comments

Comments
 (0)