<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/docs/SourceBasedCodeCoverage.rst, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[clang] Proofread SourceBasedCodeCoverage.rst (#154050)</title>
<updated>2025-08-18T14:02:15+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-08-18T14:02:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c48ec7fb60b5e0b4100731d75f82ea63c0ec7b45'/>
<id>c48ec7fb60b5e0b4100731d75f82ea63c0ec7b45</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[profile] Add `%b` `LLVM_PROFILE_FILE` option for binary ID (#123963)</title>
<updated>2025-02-06T21:05:10+00:00</updated>
<author>
<name>Sinkevich Artem</name>
<email>artsin666@gmail.com</email>
</author>
<published>2025-02-06T21:05:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=da053415d214d6a66ff5f8c69eb35b2c9ada9caf'/>
<id>da053415d214d6a66ff5f8c69eb35b2c9ada9caf</id>
<content type='text'>
Add support for expanding `%b` in `LLVM_PROFILE_FILE` to the binary ID
(build ID). It can be used with `%m` to avoid its signature collisions.

This is supported on all platforms where writing binary IDs into
profiles is implemented, as the `__llvm_write_binary_ids` function is
used.

Fixes #51560.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for expanding `%b` in `LLVM_PROFILE_FILE` to the binary ID
(build ID). It can be used with `%m` to avoid its signature collisions.

This is supported on all platforms where writing binary IDs into
profiles is implemented, as the `__llvm_write_binary_ids` function is
used.

Fixes #51560.</pre>
</div>
</content>
</entry>
<entry>
<title>Reapply: [MC/DC][Coverage] Loosen the limit of NumConds from 6 (#82448)</title>
<updated>2024-06-14T10:31:56+00:00</updated>
<author>
<name>NAKAMURA Takumi</name>
<email>geek4civic@gmail.com</email>
</author>
<published>2024-06-13T11:09:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=71f8b441ed6a944ceb4530b49e8588dcbb1e0066'/>
<id>71f8b441ed6a944ceb4530b49e8588dcbb1e0066</id>
<content type='text'>
By storing possible test vectors instead of combinations of conditions,
the restriction is dramatically relaxed.

This introduces two options to `cc1`:

* `-fmcdc-max-conditions=32767`
* `-fmcdc-max-test-vectors=2147483646`

This change makes coverage mapping, profraw, and profdata incompatible
with Clang-18.

- Bitmap semantics changed. It is incompatible with previous format.
- `BitmapIdx` in `Decision` points to the end of the bitmap.
- Bitmap is packed per function.
- `llvm-cov` can understand `profdata` generated by `llvm-profdata-18`.

RFC:
https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798

--
Change(s) since llvmorg-19-init-14288-g7ead2d8c7e91

- Update compiler-rt/test/profile/ContinuousSyncMode/image-with-mcdc.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By storing possible test vectors instead of combinations of conditions,
the restriction is dramatically relaxed.

This introduces two options to `cc1`:

* `-fmcdc-max-conditions=32767`
* `-fmcdc-max-test-vectors=2147483646`

This change makes coverage mapping, profraw, and profdata incompatible
with Clang-18.

- Bitmap semantics changed. It is incompatible with previous format.
- `BitmapIdx` in `Decision` points to the end of the bitmap.
- Bitmap is packed per function.
- `llvm-cov` can understand `profdata` generated by `llvm-profdata-18`.

RFC:
https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798

--
Change(s) since llvmorg-19-init-14288-g7ead2d8c7e91

- Update compiler-rt/test/profile/ContinuousSyncMode/image-with-mcdc.c
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[MC/DC][Coverage] Loosen the limit of NumConds from 6 (#82448)"</title>
<updated>2024-06-14T08:47:41+00:00</updated>
<author>
<name>Hans Wennborg</name>
<email>hans@chromium.org</email>
</author>
<published>2024-06-14T08:32:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b422fa6b62160f5eeb038d816d05e039182dde56'/>
<id>b422fa6b62160f5eeb038d816d05e039182dde56</id>
<content type='text'>
This broke the lit tests on Mac:
https://green.lab.llvm.org/job/llvm.org/job/clang-stage1-RA/1096/

&gt; By storing possible test vectors instead of combinations of conditions,
&gt; the restriction is dramatically relaxed.
&gt;
&gt; This introduces two options to `cc1`:
&gt;
&gt; * `-fmcdc-max-conditions=32767`
&gt; * `-fmcdc-max-test-vectors=2147483646`
&gt;
&gt; This change makes coverage mapping, profraw, and profdata incompatible
&gt; with Clang-18.
&gt;
&gt; - Bitmap semantics changed. It is incompatible with previous format.
&gt; - `BitmapIdx` in `Decision` points to the end of the bitmap.
&gt; - Bitmap is packed per function.
&gt; - `llvm-cov` can understand `profdata` generated by `llvm-profdata-18`.
&gt;
&gt; RFC:
&gt; https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798

This reverts commit 7ead2d8c7e9114b3f23666209a1654939987cb30.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This broke the lit tests on Mac:
https://green.lab.llvm.org/job/llvm.org/job/clang-stage1-RA/1096/

&gt; By storing possible test vectors instead of combinations of conditions,
&gt; the restriction is dramatically relaxed.
&gt;
&gt; This introduces two options to `cc1`:
&gt;
&gt; * `-fmcdc-max-conditions=32767`
&gt; * `-fmcdc-max-test-vectors=2147483646`
&gt;
&gt; This change makes coverage mapping, profraw, and profdata incompatible
&gt; with Clang-18.
&gt;
&gt; - Bitmap semantics changed. It is incompatible with previous format.
&gt; - `BitmapIdx` in `Decision` points to the end of the bitmap.
&gt; - Bitmap is packed per function.
&gt; - `llvm-cov` can understand `profdata` generated by `llvm-profdata-18`.
&gt;
&gt; RFC:
&gt; https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798

This reverts commit 7ead2d8c7e9114b3f23666209a1654939987cb30.
</pre>
</div>
</content>
</entry>
<entry>
<title>[MC/DC][Coverage] Loosen the limit of NumConds from 6 (#82448)</title>
<updated>2024-06-13T11:09:02+00:00</updated>
<author>
<name>NAKAMURA Takumi</name>
<email>geek4civic@gmail.com</email>
</author>
<published>2024-06-13T11:09:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7ead2d8c7e9114b3f23666209a1654939987cb30'/>
<id>7ead2d8c7e9114b3f23666209a1654939987cb30</id>
<content type='text'>
By storing possible test vectors instead of combinations of conditions,
the restriction is dramatically relaxed.

This introduces two options to `cc1`:

* `-fmcdc-max-conditions=32767`
* `-fmcdc-max-test-vectors=2147483646`

This change makes coverage mapping, profraw, and profdata incompatible
with Clang-18.

- Bitmap semantics changed. It is incompatible with previous format.
- `BitmapIdx` in `Decision` points to the end of the bitmap.
- Bitmap is packed per function.
- `llvm-cov` can understand `profdata` generated by `llvm-profdata-18`.

RFC:
https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By storing possible test vectors instead of combinations of conditions,
the restriction is dramatically relaxed.

This introduces two options to `cc1`:

* `-fmcdc-max-conditions=32767`
* `-fmcdc-max-test-vectors=2147483646`

This change makes coverage mapping, profraw, and profdata incompatible
with Clang-18.

- Bitmap semantics changed. It is incompatible with previous format.
- `BitmapIdx` in `Decision` points to the end of the bitmap.
- Bitmap is packed per function.
- `llvm-cov` can understand `profdata` generated by `llvm-profdata-18`.

RFC:
https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][NFC] Update top-level Code Coverage documentation to include MC/DC.</title>
<updated>2024-01-22T21:34:37+00:00</updated>
<author>
<name>Alan Phipps</name>
<email>a-phipps@ti.com</email>
</author>
<published>2024-01-22T20:27:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8789b7e5559c0c419d5247f60866e29ab3b651a8'/>
<id>8789b7e5559c0c419d5247f60866e29ab3b651a8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][NFC] Remove trailing whitespaces and enforce it in lib, include and docs</title>
<updated>2023-06-26T16:34:36+00:00</updated>
<author>
<name>Nikolas Klauser</name>
<email>nikolasklauser@berlin.de</email>
</author>
<published>2023-06-26T01:59:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f6d557ee34b6bbdb1dc32f29e34b4a4a8ad35e81'/>
<id>f6d557ee34b6bbdb1dc32f29e34b4a4a8ad35e81</id>
<content type='text'>
A lot of editors remove trailing whitespaces. This patch removes any trailing whitespaces and makes sure that no new ones are added.

Reviewed By: erichkeane, paulkirth, #libc, philnik

Spies: wangpc, aheejin, MaskRay, pcwang-thead, cfe-commits, libcxx-commits, dschuff, nemanjai, arichardson, kbarton, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, Jim, s.egerton, sameer.abuasal, apazos, luismarques, martong, frasercrmck, steakhal, luke

Differential Revision: https://reviews.llvm.org/D151963
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A lot of editors remove trailing whitespaces. This patch removes any trailing whitespaces and makes sure that no new ones are added.

Reviewed By: erichkeane, paulkirth, #libc, philnik

Spies: wangpc, aheejin, MaskRay, pcwang-thead, cfe-commits, libcxx-commits, dschuff, nemanjai, arichardson, kbarton, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, Jim, s.egerton, sameer.abuasal, apazos, luismarques, martong, frasercrmck, steakhal, luke

Differential Revision: https://reviews.llvm.org/D151963
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove outdated sentence in SourceBasedCodeCoverage.rst</title>
<updated>2023-05-11T21:17:57+00:00</updated>
<author>
<name>Zequan Wu</name>
<email>zequanwu@google.com</email>
</author>
<published>2023-05-11T21:16:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=62c4c614eea8078918d04cb33ce54ef8f9987766'/>
<id>62c4c614eea8078918d04cb33ce54ef8f9987766</id>
<content type='text'>
https://reviews.llvm.org/rGc5b94ea265133a4a28006929643155fc8fbeafe6 allows N &gt;= 10.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://reviews.llvm.org/rGc5b94ea265133a4a28006929643155fc8fbeafe6 allows N &gt;= 10.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Clang sphinx build</title>
<updated>2023-01-28T13:56:22+00:00</updated>
<author>
<name>Aaron Ballman</name>
<email>aaron@aaronballman.com</email>
</author>
<published>2023-01-28T13:56:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3821391847c4613d21295a53dcab30e6f92fe94c'/>
<id>3821391847c4613d21295a53dcab30e6f92fe94c</id>
<content type='text'>
This addresses the issue found in:
https://lab.llvm.org/buildbot/#/builders/92/builds/39306
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This addresses the issue found in:
https://lab.llvm.org/buildbot/#/builders/92/builds/39306
</pre>
</div>
</content>
</entry>
<entry>
<title>Added a note that "%p" is also a Lit token and needs to be escaped.</title>
<updated>2023-01-28T01:57:59+00:00</updated>
<author>
<name>Flash Sheridan</name>
<email>flash@pobox.com</email>
</author>
<published>2023-01-28T01:57:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=00ecf3f339624dc8b44737a2347076382de3720f'/>
<id>00ecf3f339624dc8b44737a2347076382de3720f</id>
<content type='text'>
Differential revision: https://reviews.llvm.org/D140730
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Differential revision: https://reviews.llvm.org/D140730
</pre>
</div>
</content>
</entry>
</feed>
