Skip to content

Commit defd3f6

Browse files
committed
Update ReleaseNotes for MC/DC changes.
1 parent d442bf0 commit defd3f6

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,20 @@ Improvements to Clang's time-trace
586586
- Clang now specifies that using ``auto`` in a lambda parameter is a C++14 extension when
587587
appropriate. (`#46059: <https://github.com/llvm/llvm-project/issues/46059>`_).
588588

589+
Improvements to Coverage mapping
590+
--------------------------------
591+
592+
- Macros defined in system headers are not expanded in coverage
593+
mapping. Conditional expressions in system header macros are no
594+
longer taken into account for branch coverage. They can be included
595+
with ``-mllvm -system-headers-coverage``. (#78920)
596+
- MC/DC coverage has been improved. (#82448)
597+
- The maximum number of conditions is no longer limited to 6. See
598+
`this <SourceBasedCodeCoverage.html#mc-dc-instrumentation>` for
599+
more details.
600+
- The format of profraw generated by the runtime is not backwards
601+
compatible.
602+
589603
Bug Fixes in This Version
590604
-------------------------
591605
- Clang's ``-Wundefined-func-template`` no longer warns on pure virtual

llvm/docs/ReleaseNotes.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ 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+
* ``llvm.instprof.mcdc.parameters``: 3rd argument has been changed
75+
from bytes to bits.
76+
* ``llvm.instprof.mcdc.condbitmap.update``: Removed.
77+
* ``llvm.instprof.mcdc.tvbitmap.update``: 3rd argument has been
78+
removed. The next argument has been changed from byte index to bit
79+
index.
7380

7481
Changes to LLVM infrastructure
7582
------------------------------

0 commit comments

Comments
 (0)