<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_ssa/src/debuginfo, branch 1.67.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.67.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.67.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-11-27T11:19:04+00:00</updated>
<entry>
<title>Prefer doc comments over `//`-comments in compiler</title>
<updated>2022-11-27T11:19:04+00:00</updated>
<author>
<name>Maybe Waffle</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2022-11-27T11:15:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1d42936b18d08ba414d9def35508d3baf2175c72'/>
<id>urn:sha1:1d42936b18d08ba414d9def35508d3baf2175c72</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[debuginfo] Make debuginfo type names for slices and str consistent.</title>
<updated>2022-10-31T14:43:44+00:00</updated>
<author>
<name>Michael Woerister</name>
<email>michaelwoerister@posteo</email>
</author>
<published>2022-10-25T10:28:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0cd2dd7263a20ba62591039cd3591c8eaef13878'/>
<id>urn:sha1:0cd2dd7263a20ba62591039cd3591c8eaef13878</id>
<content type='text'>
Before this PR, the compiler would emit the debuginfo name `slice$&lt;T&gt;`
for all kinds of slices, regardless of whether they are behind a
reference or not and regardless of the kind of reference. As a
consequence, the types `Foo&lt;&amp;[T]&gt;`, `Foo&lt;[T]&gt;`, and `Foo&lt;&amp;mut [T]&gt;`
would end up with the same type name `Foo&lt;slice$&lt;T&gt; &gt;` in debuginfo,
making it impossible to disambiguate between them by name. Similarly,
`&amp;str` would get the name `str` in debuginfo, so the debuginfo name for
`Foo&lt;str&gt;` and `Foo&lt;&amp;str&gt;` would be the same. In contrast,
`*const [bool]` and `*mut [bool]` would be `ptr_const$&lt;slice$&lt;bool&gt; &gt;`
and `ptr_mut$&lt;slice$&lt;bool&gt; &gt;`, i.e. the encoding does not lose
information about the type.

This PR removes all special handling for slices and `str`. The types
`&amp;[bool]`, `&amp;mut [bool]`, and `&amp;str` thus get the names
`ref$&lt;slice2$&lt;bool&gt; &gt;`, `ref_mut$&lt;slice2$&lt;bool&gt; &gt;`, and
`ref$&lt;str$&gt;` respectively -- as one would expect.
</content>
</entry>
<entry>
<title>Remove byte swap of valtree hash on big endian</title>
<updated>2022-10-19T06:55:33+00:00</updated>
<author>
<name>Qiu Chaofan</name>
<email>qcf@ecnelises.com</email>
</author>
<published>2022-10-19T06:53:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7b5a366c2aa8ed60965f234a5162f9c70c04a5f6'/>
<id>urn:sha1:7b5a366c2aa8ed60965f234a5162f9c70c04a5f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use enum2&lt;_&gt; instead of enum&lt;_&gt; for Cpp-like debuginfo enum type names.</title>
<updated>2022-08-12T08:53:07+00:00</updated>
<author>
<name>Michael Woerister</name>
<email>michaelwoerister@posteo</email>
</author>
<published>2022-07-07T13:01:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=063ebfa5707015f895fc50c3a1dd70ab6867bc9b'/>
<id>urn:sha1:063ebfa5707015f895fc50c3a1dd70ab6867bc9b</id>
<content type='text'>
And add more comments about niche tag enum encoding.
</content>
</entry>
<entry>
<title>debuginfo: Change C++-like encoding for enums.</title>
<updated>2022-08-12T08:53:07+00:00</updated>
<author>
<name>Michael Woerister</name>
<email>michaelwoerister@posteo</email>
</author>
<published>2022-06-20T15:50:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=622da5d834e862112e860db1fc0404bd8604f578'/>
<id>urn:sha1:622da5d834e862112e860db1fc0404bd8604f578</id>
<content type='text'>
The updated encoding should be able to handle niche layouts where
more than one variant has fields.
</content>
</entry>
<entry>
<title>Allow to create definitions inside the query system.</title>
<updated>2022-07-06T20:50:55+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2021-07-12T20:19:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=43bb31b9540a439dcca65f47b8644eafe4a42e2d'/>
<id>urn:sha1:43bb31b9540a439dcca65f47b8644eafe4a42e2d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>account for endianness in debuginfo for const args</title>
<updated>2022-06-14T14:12:34+00:00</updated>
<author>
<name>b-naber</name>
<email>bn263@gmx.de</email>
</author>
<published>2022-06-14T08:50:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e14b34c386ad2809e937e0e6e0379c5cc5474954'/>
<id>urn:sha1:e14b34c386ad2809e937e0e6e0379c5cc5474954</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rebase</title>
<updated>2022-06-14T14:12:28+00:00</updated>
<author>
<name>b-naber</name>
<email>bn263@gmx.de</email>
</author>
<published>2022-06-07T17:29:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=060acc97db878964b6229dc89a657201f4232b14'/>
<id>urn:sha1:060acc97db878964b6229dc89a657201f4232b14</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename the `ConstS::val` field as `kind`.</title>
<updated>2022-06-14T03:06:44+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2022-06-10T01:18:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=93e4b6ef06888085dc60d073ca9d66f2d7282112'/>
<id>urn:sha1:93e4b6ef06888085dc60d073ca9d66f2d7282112</id>
<content type='text'>
And likewise for the `Const::val` method.

Because its type is called `ConstKind`. Also `val` is a confusing name
because `ConstKind` is an enum with seven variants, one of which is
called `Value`. Also, this gives consistency with `TyS` and `PredicateS`
which have `kind` fields.

The commit also renames a few `Const` variables from `val` to `c`, to
avoid confusion with the `ConstKind::Value` variant.
</content>
</entry>
<entry>
<title>Remove NodeIdHashingMode.</title>
<updated>2022-04-12T17:59:32+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2022-04-04T20:19:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=443333dc1f8d464ed9f3d166a847f4703ad078ae'/>
<id>urn:sha1:443333dc1f8d464ed9f3d166a847f4703ad078ae</id>
<content type='text'>
</content>
</entry>
</feed>
