Author: Fangrui Song Date: 2020-08-27T23:16:34-07:00 New Revision: f81c61748dd80b92a638bf16eebddc1a7ccfcf8e
URL: https://github.com/llvm/llvm-project/commit/f81c61748dd80b92a638bf16eebddc1a7ccfcf8e DIFF: https://github.com/llvm/llvm-project/commit/f81c61748dd80b92a638bf16eebddc1a7ccfcf8e.diff LOG: ReleaseNotes: add some clang items Added: Modified: clang/docs/ReleaseNotes.rst Removed: ################################################################################ diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index a8fde6b452d0..7b1df2ed9c3f 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -58,6 +58,10 @@ Improvements to Clang's diagnostics -Wuninitialized. It warns on cases where uninitialized variables are passed as const reference arguments to a function. +- ``-Wimplicit-const-int-float-conversion`` (enabled by default) is a new + option controlled by ``-Wimplicit-int-float-conversion``. It warns on + implicit conversion from a floating constant to an integer type. + Non-comprehensive list of changes in this release ------------------------------------------------- @@ -144,6 +148,21 @@ Non-comprehensive list of changes in this release provided through shared libraries, avoid using lazy binding. If you use lazy binding, the results could be corrupted. +- ``-O`` maps to ``-O1`` instead of ``-O2``. + (`D79916 <https://reviews.llvm.org/D79916>`_) + +- In a ``-flto={full,thin}`` link, ``-Os``, ``-Oz`` and ``-Og`` can be used + now. ``-Os`` and ``-Oz`` map to the -O2 pipe line while ``-Og`` maps to the + -O1 pipeline. + (`D79919 <https://reviews.llvm.org/D79919>`_) + +- ``--coverage`` (gcov) defaults to gcov [4.8,8) compatible format now. + +- On x86, ``-fpic/-fPIC -fno-semantic-interposition`` assumes a global + definition of default visibility non-interposable and allows interprocedural + optimizations. In produced assembly ``-Lfunc$local`` local aliases are created + for global symbols of default visibility. + New Compiler Flags ------------------ @@ -195,6 +214,8 @@ New Compiler Flags adding -fdata-sections -ffunction-sections to the command generating the shared object). +- ``-fsanitize-coverage-allowlist`` and ``-fsanitize-coverage-blocklist`` are added. + Deprecated Compiler Flags ------------------------- _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits