<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs, branch perf-tmp</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-08-06T12:38:52+00:00</updated>
<entry>
<title>coverage: Remove all unstable support for MC/DC instrumentation</title>
<updated>2025-08-06T12:38:52+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-08-06T12:02:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=81ed042c8cc4a1bd677c9209cf9edca6b91af04a'/>
<id>urn:sha1:81ed042c8cc4a1bd677c9209cf9edca6b91af04a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Clarify that getting a PGO name also makes a function "used"</title>
<updated>2025-07-27T11:49:46+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-07-27T11:29:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=89b6b0b6a482cb0d632f54f14936def9c034570d'/>
<id>urn:sha1:89b6b0b6a482cb0d632f54f14936def9c034570d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Infer `instances_used` from `pgo_func_name_var_map`</title>
<updated>2025-07-27T11:49:37+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-07-27T11:19:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=24e2b4832bfa0bf1b60159af0ae11b15de55590e'/>
<id>urn:sha1:24e2b4832bfa0bf1b60159af0ae11b15de55590e</id>
<content type='text'>
In obscure circumstances, we would sometimes emit a covfun record for a
function with no physical coverage counters, causing `llvm-cov` to fail with
the cryptic error message:

    malformed instrumentation profile data: function name is empty

We can eliminate this mismatch by removing `instances_used` entirely, and
instead inferring its contents from the keys of `pgo_func_name_var_map`.

This makes it impossible for a "used" function to lack a PGO name entry.
</content>
</entry>
<entry>
<title>Remove a couple of uses of interior mutability around statics</title>
<updated>2025-05-28T20:55:00+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2024-12-13T09:52:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0fd257d66ca761c5eba965fac52acffe3a8a7d96'/>
<id>urn:sha1:0fd257d66ca761c5eba965fac52acffe3a8a7d96</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Remove the old code for simplifying counters after MIR opts</title>
<updated>2025-02-06T10:44:31+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-01-25T07:41:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bd855b6c9efc25a9f1eba3febd3d04f1b23a1ec5'/>
<id>urn:sha1:bd855b6c9efc25a9f1eba3febd3d04f1b23a1ec5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Defer part of counter-creation until codegen</title>
<updated>2025-02-06T10:44:31+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-01-22T02:55:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=20d051ec870739c8f263e5f6f581ca24a5dd56fd'/>
<id>urn:sha1:20d051ec870739c8f263e5f6f581ca24a5dd56fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Make query `coverage_ids_info` return an Option</title>
<updated>2025-01-24T05:13:11+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-01-22T01:58:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ff48331588e74dc381374d7f474d85adc4dd3b4b'/>
<id>urn:sha1:ff48331588e74dc381374d7f474d85adc4dd3b4b</id>
<content type='text'>
This reflects the fact that we can't compute meaningful info for a function
that wasn't instrumented and therefore doesn't have `function_coverage_info`.
</content>
</entry>
<entry>
<title>coverage: Track used functions in a set instead of a map</title>
<updated>2024-12-17T03:14:19+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-12-14T11:48:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=541d4e85d90b4c0416014c3620d3f3c9771bd476'/>
<id>urn:sha1:541d4e85d90b4c0416014c3620d3f3c9771bd476</id>
<content type='text'>
This patch dismantles what was left of `FunctionCoverage` in `map_data.rs`,
replaces `function_coverage_map` with a set, and overhauls how we prepare
covfun records for unused functions.
</content>
</entry>
<entry>
<title>coverage: Remove FunctionCoverageCollector</title>
<updated>2024-12-08T09:53:57+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-12-06T11:55:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4d2bfece41cef781247b5fdcb29407baeb344f71'/>
<id>urn:sha1:4d2bfece41cef781247b5fdcb29407baeb344f71</id>
<content type='text'>
The information that was being collected by this builder type is now collected
by the `coverage_ids_info` query instead.
</content>
</entry>
<entry>
<title>coverage: Use a query to identify which counter/expression IDs are used</title>
<updated>2024-11-29T13:58:48+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-11-24T07:26:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6fc0fe76e8495e638a8b69461b8001437b4f319a'/>
<id>urn:sha1:6fc0fe76e8495e638a8b69461b8001437b4f319a</id>
<content type='text'>
</content>
</entry>
</feed>
