<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/coverage/inline.cov-map, branch 1.80.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.80.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.80.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-05-14T03:58:40+00:00</updated>
<entry>
<title>coverage: Simplify counter expressions using simple algebra</title>
<updated>2024-05-14T03:58:40+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-05-14T03:51:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d01df6f9aadf58a00357bd89b8fc25a44822ba77'/>
<id>urn:sha1:d01df6f9aadf58a00357bd89b8fc25a44822ba77</id>
<content type='text'>
Some of these cases currently don't occur in practice, but are included for
completeness, and to avoid having to add them later as branch coverage and
MC/DC coverage start building more complex expressions.
</content>
</entry>
<entry>
<title>coverage: Skip spans that can't be un-expanded back to the function body</title>
<updated>2023-12-03T01:35:33+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2023-11-26T11:20:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eb2d4cb5414361d9148bf43388012dcbdce80abe'/>
<id>urn:sha1:eb2d4cb5414361d9148bf43388012dcbdce80abe</id>
<content type='text'>
When we extract coverage spans from MIR, we try to "un-expand" them back to
spans that are inside the function's body span.

In cases where that doesn't succeed, the current code just swaps in the entire
body span instead. But that tends to result in coverage spans that are
completely unrelated to the control flow of the affected code, so it's better
to just discard those spans.
</content>
</entry>
<entry>
<title>coverage: Migrate `tests/coverage-map` into `tests/coverage`</title>
<updated>2023-11-07T00:15:19+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2023-11-01T10:28:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=49127c64d6998526d9f723a653312d0cf5310454'/>
<id>urn:sha1:49127c64d6998526d9f723a653312d0cf5310454</id>
<content type='text'>
</content>
</entry>
</feed>
