Author: NAKAMURA Takumi Date: 2024-06-19T07:15:19+09:00 New Revision: 12cf0dc685a9c3adfefc3a58f0b8ed4360be8b14
URL: https://github.com/llvm/llvm-project/commit/12cf0dc685a9c3adfefc3a58f0b8ed4360be8b14 DIFF: https://github.com/llvm/llvm-project/commit/12cf0dc685a9c3adfefc3a58f0b8ed4360be8b14.diff LOG: Update ReleaseNotes for MC/DC changes. (#95887) Mostly apparent changes (#82448, #95496) are described here. Added: Modified: clang/docs/ReleaseNotes.rst llvm/docs/ReleaseNotes.rst Removed: ################################################################################ diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index 0f958d213172a..7112d1f889fef 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -595,6 +595,21 @@ Improvements to Clang's time-trace - Clang now specifies that using ``auto`` in a lambda parameter is a C++14 extension when appropriate. (`#46059: <https://github.com/llvm/llvm-project/issues/46059>`_). +Improvements to Coverage Mapping +-------------------------------- + +- Macros defined in system headers are not expanded in coverage + mapping. Conditional expressions in system header macros are no + longer taken into account for branch coverage. They can be included + with ``-mllvm -system-headers-coverage``. + (`#78920: <https://github.com/llvm/llvm-project/issues/78920>`_) +- MC/DC Coverage has been improved. + (`#82448: <https://github.com/llvm/llvm-project/pull/82448>`_) + + - The maximum number of conditions is no longer limited to 6. See + `this <SourceBasedCodeCoverage.html#mc-dc-instrumentation>` for + more details. + Bug Fixes in This Version ------------------------- - Clang's ``-Wundefined-func-template`` no longer warns on pure virtual diff --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst index 82db968872ee1..507f6b20b11b5 100644 --- a/llvm/docs/ReleaseNotes.rst +++ b/llvm/docs/ReleaseNotes.rst @@ -70,6 +70,14 @@ Changes to the LLVM IR records by default. Details of the change and instructions on how to update any downstream tools and tests can be found in the `migration docs <https://llvm.org/docs/RemoveDIsDebugInfo.html>`_. +* Semantics of MC/DC intrinsics have been changed. + + * ``llvm.instprof.mcdc.parameters``: 3rd argument has been changed + from bytes to bits. + * ``llvm.instprof.mcdc.condbitmap.update``: Removed. + * ``llvm.instprof.mcdc.tvbitmap.update``: 3rd argument has been + removed. The next argument has been changed from byte index to bit + index. Changes to LLVM infrastructure ------------------------------ _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits