From 7af6fea2ddcbc6bc71e8ecb22f6bfb06121f2eee Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 27 Feb 2020 10:54:27 -0800 Subject: [ReleaseNotes] Add some items for clang --- clang/docs/ReleaseNotes.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'clang/docs') diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index 63d83ac1c1d..b5415a03354 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -79,6 +79,7 @@ Improvements to Clang's diagnostics warning of the same name. It warns about statements that are indented as if they were part of a if/else/for/while statement but are not semantically part of that if/else/for/while. +- -Wbitwise-op-parentheses and -Wlogical-op-parentheses are disabled by default. Non-comprehensive list of changes in this release ------------------------------------------------- @@ -157,6 +158,13 @@ New Compiler Flags ``-ffile-prefix-map`` option is equivalent to specifying both ``-fdebug-prefix-map`` and ``-fmacro-prefix-map``. +- ``-fpatchable-function-entry=N[,M]`` is added to generate M NOPs before the + function entry and N-M NOPs after the function entry. This is used by AArch64 + ftrace in the Linux kernel. + +- ``-mbranches-within-32B-boundaries`` is added as an x86 assembler mitigation + for Intel's Jump Condition Code Erratum. + Deprecated Compiler Flags ------------------------- -- cgit v1.2.3