<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.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-04T03:48:41+00:00</updated>
<entry>
<title>coverage: Represent `CovmapVersion` as an enum</title>
<updated>2025-08-04T03:48:41+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-08-03T04:35:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b37c214ec2bbb7609eb4b963bb2b0da160fef57f'/>
<id>urn:sha1:b37c214ec2bbb7609eb4b963bb2b0da160fef57f</id>
<content type='text'>
Using an enum here was historically not worth the extra hassle, but now we can
lean on `#[derive(TryFromU32)]` to hide most of the boilerplate.
</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 methods from StaticCodegenMethods that are not called in cg_ssa itself</title>
<updated>2025-05-28T20:55:00+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-01-09T18:29:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d7c0bde0c11301b9a782eabc469f7a7548505d4f'/>
<id>urn:sha1:d7c0bde0c11301b9a782eabc469f7a7548505d4f</id>
<content type='text'>
</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: Build the CGU's global file table as late as possible</title>
<updated>2025-04-07T07:11:49+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-03-31T01:51:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4322b6e97d6ad438c6c9ef1ea92e8ba00c056d9c'/>
<id>urn:sha1:4322b6e97d6ad438c6c9ef1ea92e8ba00c056d9c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Deal with unused functions and their names in one place</title>
<updated>2025-04-06T03:55:28+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-03-21T04:14:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b3c40cf374422ac8f6cbb14fa6747b2fae5762db'/>
<id>urn:sha1:b3c40cf374422ac8f6cbb14fa6747b2fae5762db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Extract module `mapgen::unused` for handling unused functions</title>
<updated>2025-04-06T03:55:27+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-03-21T04:07:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=75135aaf19f22637b60b0e29255f0000029bdbf9'/>
<id>urn:sha1:75135aaf19f22637b60b0e29255f0000029bdbf9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>upstream rustc_codegen_ssa/rustc_middle changes for enzyme/autodiff</title>
<updated>2025-01-30T02:31:13+00:00</updated>
<author>
<name>Manuel Drehwald</name>
<email>git@manuel.drehwald.info</email>
</author>
<published>2025-01-30T02:31:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1f30517d40a9a8fe3b89479891c7a167adb75cbd'/>
<id>urn:sha1:1f30517d40a9a8fe3b89479891c7a167adb75cbd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change `collect_and_partition_mono_items` tuple return type to a struct</title>
<updated>2025-01-27T09:38:12+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2025-01-27T08:11:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b24f6745203fcf7e177f577444a0cdbae6411b41'/>
<id>urn:sha1:b24f6745203fcf7e177f577444a0cdbae6411b41</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Identify source files by ID, not by interned filename</title>
<updated>2024-12-19T07:09:09+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-12-18T10:19:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=837a25dd41a1cc58cee093159a01f73719f330e8'/>
<id>urn:sha1:837a25dd41a1cc58cee093159a01f73719f330e8</id>
<content type='text'>
</content>
</entry>
</feed>
