Skip to content

Commit 4e875cc

Browse files
chapuniAlexisPerry
authored andcommitted
Update ReleaseNotes for MC/DC changes. (llvm#95887)
Mostly apparent changes (llvm#82448, llvm#95496) are described here.
1 parent 4dd73f4 commit 4e875cc

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

clang/docs/ReleaseNotes.rst

+15
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,21 @@ Improvements to Clang's time-trace
595595
- Clang now specifies that using ``auto`` in a lambda parameter is a C++14 extension when
596596
appropriate. (`#46059: <https://github.com/llvm/llvm-project/issues/46059>`_).
597597

598+
Improvements to Coverage Mapping
599+
--------------------------------
600+
601+
- Macros defined in system headers are not expanded in coverage
602+
mapping. Conditional expressions in system header macros are no
603+
longer taken into account for branch coverage. They can be included
604+
with ``-mllvm -system-headers-coverage``.
605+
(`#78920: <https://github.com/llvm/llvm-project/issues/78920>`_)
606+
- MC/DC Coverage has been improved.
607+
(`#82448: <https://github.com/llvm/llvm-project/pull/82448>`_)
608+
609+
- The maximum number of conditions is no longer limited to 6. See
610+
`this <SourceBasedCodeCoverage.html#mc-dc-instrumentation>` for
611+
more details.
612+
598613
Bug Fixes in This Version
599614
-------------------------
600615
- Clang's ``-Wundefined-func-template`` no longer warns on pure virtual

llvm/docs/ReleaseNotes.rst

+8
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ Changes to the LLVM IR
7070
records by default. Details of the change and instructions on how to update
7171
any downstream tools and tests can be found in the `migration docs
7272
<https://llvm.org/docs/RemoveDIsDebugInfo.html>`_.
73+
* Semantics of MC/DC intrinsics have been changed.
74+
75+
* ``llvm.instprof.mcdc.parameters``: 3rd argument has been changed
76+
from bytes to bits.
77+
* ``llvm.instprof.mcdc.condbitmap.update``: Removed.
78+
* ``llvm.instprof.mcdc.tvbitmap.update``: 3rd argument has been
79+
removed. The next argument has been changed from byte index to bit
80+
index.
7381

7482
Changes to LLVM infrastructure
7583
------------------------------

0 commit comments

Comments
 (0)