<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_llvm/src/coverageinfo, branch 1.78.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.78.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.78.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-03-14T06:19:02+00:00</updated>
<entry>
<title>coverage: Include recorded branch info in coverage instrumentation</title>
<updated>2024-03-14T06:19:02+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2023-11-16T06:48:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=31d0b5017857cef35031a7d4210bd045758dcae2'/>
<id>urn:sha1:31d0b5017857cef35031a7d4210bd045758dcae2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Add `CoverageKind::BlockMarker`</title>
<updated>2024-03-13T09:43:35+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-02-08T01:39:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c921ab17134a7e526ec9df3942890f5b501addcb'/>
<id>urn:sha1:c921ab17134a7e526ec9df3942890f5b501addcb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Remove all unstable values of `-Cinstrument-coverage`</title>
<updated>2024-03-13T00:14:09+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-03-12T01:30:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1f544ce305bc207c9d0539938219caf01ea230c9'/>
<id>urn:sha1:1f544ce305bc207c9d0539938219caf01ea230c9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>avoid collecting into vecs in some places</title>
<updated>2024-03-02T13:18:47+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2024-03-02T13:18:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7a48987006c1d69cb59fc253bbe2ad097af82645'/>
<id>urn:sha1:7a48987006c1d69cb59fc253bbe2ad097af82645</id>
<content type='text'>
</content>
</entry>
<entry>
<title>clean up potential_query_instability with FxIndexMap and UnordMap</title>
<updated>2024-02-14T10:36:37+00:00</updated>
<author>
<name>yukang</name>
<email>moorekang@gmail.com</email>
</author>
<published>2024-02-11T11:50:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3f27e4b3ea35c87c1e8a6b9b8a3c7e122f6299de'/>
<id>urn:sha1:3f27e4b3ea35c87c1e8a6b9b8a3c7e122f6299de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add missing potential_query_instability for keys and values in hashmap</title>
<updated>2024-01-30T04:43:10+00:00</updated>
<author>
<name>yukang</name>
<email>moorekang@gmail.com</email>
</author>
<published>2024-01-30T04:42:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ad526d831e295facc198610a27350076aa5aa438'/>
<id>urn:sha1:ad526d831e295facc198610a27350076aa5aa438</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Add enums to accommodate other kinds of coverage mappings</title>
<updated>2024-01-11T05:43:12+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2023-12-28T03:07:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=124fff0777014323be34f0a990c78c5cfe9f40db'/>
<id>urn:sha1:124fff0777014323be34f0a990c78c5cfe9f40db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Avoid a query stability hazard in `function_coverage_map`</title>
<updated>2024-01-02T11:57:04+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-01-02T11:57:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5e7c1b93ac7f5fb1bd5297980e8b6b3657a10c32'/>
<id>urn:sha1:5e7c1b93ac7f5fb1bd5297980e8b6b3657a10c32</id>
<content type='text'>
When #118865 started enforcing the `rustc::potential_query_instability` lint in
`rustc_codegen_llvm`, it added an exemption for this site, arguing that the
entries are only used to create a list of filenames that is later sorted.

However, the list of entries also gets traversed when creating the function
coverage records in LLVM IR, which may be sensitive to hash-based ordering.

This patch therefore changes `function_coverage_map` to use `FxIndexMap`, which
should avoid hash-based instability by iterating in insertion order.
</content>
</entry>
<entry>
<title>coverage: Avoid creating `func_coverage` for marker statements</title>
<updated>2023-12-16T00:10:11+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2023-12-12T02:49:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c57f28bbf75572e10c6165c33a2aef922315fdb4'/>
<id>urn:sha1:c57f28bbf75572e10c6165c33a2aef922315fdb4</id>
<content type='text'>
Coverage marker statements should have no effect on codegen, but in some cases
they could have the side-effect of creating a `func_coverage` entry for their
enclosing function. That can lead to an ICE for functions that don't actually
have any coverage spans.
</content>
</entry>
<entry>
<title>rustc_codegen_llvm: Enforce `rustc::potential_query_instability` lint</title>
<updated>2023-12-12T12:16:14+00:00</updated>
<author>
<name>Martin Nordholts</name>
<email>martin.nordholts@codetale.se</email>
</author>
<published>2023-12-12T12:14:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f44ccbab2bbdc538b739d6a1f5f9fbdb8339f8f8'/>
<id>urn:sha1:f44ccbab2bbdc538b739d6a1f5f9fbdb8339f8f8</id>
<content type='text'>
Stop allowing `rustc::potential_query_instability` on all of
`rustc_codegen_llvm` and instead allow it on a case-by-case basis. In
this case, both instances are safe to allow.
</content>
</entry>
</feed>
