<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/coverage/condition, branch try-perf</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try-perf</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try-perf'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-05-06T10:42:25+00:00</updated>
<entry>
<title>coverage: Only merge adjacent coverage spans</title>
<updated>2025-05-06T10:42:25+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-04-12T07:52:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4d5a1acebfe031ca2af75786295a2cd2a0633943'/>
<id>urn:sha1:4d5a1acebfe031ca2af75786295a2cd2a0633943</id>
<content type='text'>
This also removes some manipulation of the function signature span that only
made sense in the context of merging non-adjacent spans.
</content>
</entry>
<entry>
<title>coverage-dump: Dump filenames instead of global file IDs (and bless)</title>
<updated>2025-05-06T01:58:58+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-04-24T07:36:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c53a76743c01afa356ae5301bc1b35044354da7a'/>
<id>urn:sha1:c53a76743c01afa356ae5301bc1b35044354da7a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Shrink call spans to just the function name</title>
<updated>2025-04-01T02:07:33+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-03-29T10:33:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=577272eedeaace00aa695135b3b8fee3768536a5'/>
<id>urn:sha1:577272eedeaace00aa695135b3b8fee3768536a5</id>
<content type='text'>
This is a way to shrink call spans that doesn't involve mixing different spans,
and avoids overlap with argument spans.

This patch also removes some low-value comments that were causing rustfmt to
ignore the match arms.
</content>
</entry>
<entry>
<title>Revert "Auto merge of #130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"</title>
<updated>2024-12-23T01:30:37+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-12-22T03:26:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=87c2f9a5be900e835f3c41cec2886d54ec0ca012'/>
<id>urn:sha1:87c2f9a5be900e835f3c41cec2886d54ec0ca012</id>
<content type='text'>
This reverts commit 1d35638dc38dbfbf1cc2a9823135dfcf3c650169, reversing
changes made to f23a80a4c2fbca593b64e70f5970368824b4c5e9.
</content>
</entry>
<entry>
<title>Stabilize #[coverage] attribute</title>
<updated>2024-12-17T02:07:06+00:00</updated>
<author>
<name>ltdk</name>
<email>usr@ltdk.xyz</email>
</author>
<published>2024-09-23T23:40:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cb487cc2fa3c5ebfddd22d6721cf1669943c1774'/>
<id>urn:sha1:cb487cc2fa3c5ebfddd22d6721cf1669943c1774</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Prefer to visit nodes whose predecessors have been visited</title>
<updated>2024-12-07T01:13:12+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-12-05T07:57:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ac815ff6b0c8f0fd68ddf666ea1f96e362c65300'/>
<id>urn:sha1:ac815ff6b0c8f0fd68ddf666ea1f96e362c65300</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Add an extra "transcribe" step after counter creation</title>
<updated>2024-12-04T06:50:52+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-11-29T01:58:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=44e4e4515c877093379e368b591b6aae3545f77c'/>
<id>urn:sha1:44e4e4515c877093379e368b591b6aae3545f77c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Include the highest counter ID seen in `.cov-map` dumps</title>
<updated>2024-10-11T10:04:37+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-10-08T02:13:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=599f95ecc26fb68cccbf79780dd1825a4cf73eb0'/>
<id>urn:sha1:599f95ecc26fb68cccbf79780dd1825a4cf73eb0</id>
<content type='text'>
When making changes that have a large impact on coverage counter creation, this
makes it easier to see whether the number of physical counters has changed.

(The highest counter ID seen in coverage maps is not necessarily the same as
the number of physical counters actually used by the instrumented code, but
it's the best approximation we can get from looking only at the coverage maps,
and it should be reasonably accurate in most cases.)
</content>
</entry>
<entry>
<title>coverage: Instrument the RHS value of lazy logical operators</title>
<updated>2024-05-30T05:38:46+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-05-01T07:33:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=35a8746832a4d9103f317c5cac56cfa1e0316d8c'/>
<id>urn:sha1:35a8746832a4d9103f317c5cac56cfa1e0316d8c</id>
<content type='text'>
When a lazy logical operator (`&amp;&amp;` or `||`) occurs outside of an `if`
condition, it normally doesn't have any associated control-flow branch, so we
don't have an existing way to track whether it was true or false.

This patch adds special code to handle this case, by inserting extra MIR blocks
in a diamond shape after evaluating the RHS. This gives us a place to insert
the appropriate marker statements, which can then be given their own counters.
</content>
</entry>
<entry>
<title>coverage: Add a test for `-Zcoverage-options=condition`</title>
<updated>2024-05-30T05:38:46+00:00</updated>
<author>
<name>Dorian Péron</name>
<email>peron@adacore.com</email>
</author>
<published>2024-04-29T15:58:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=20174e6638eb0d5ac0195706ce6cc7185949a407'/>
<id>urn:sha1:20174e6638eb0d5ac0195706ce6cc7185949a407</id>
<content type='text'>
</content>
</entry>
</feed>
