<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/debuginfo, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-01-11T09:32:08+00:00</updated>
<entry>
<title>Move /src/test to /tests</title>
<updated>2023-01-11T09:32:08+00:00</updated>
<author>
<name>Albert Larsan</name>
<email>74931857+albertlarsan68@users.noreply.github.com</email>
</author>
<published>2023-01-05T08:13:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cf2dff2b1e3fa55fa5415d524200070d0d7aacfe'/>
<id>urn:sha1:cf2dff2b1e3fa55fa5415d524200070d0d7aacfe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix `pretty-std` test</title>
<updated>2022-11-27T22:15:55+00:00</updated>
<author>
<name>Markus Everling</name>
<email>markuseverling@gmail.com</email>
</author>
<published>2022-11-27T22:08:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b1c3c6380f5293b57cd2073908c84f2e270238ca'/>
<id>urn:sha1:b1c3c6380f5293b57cd2073908c84f2e270238ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #104470 - ehuss:cdb-dupe-last-command, r=jyn514</title>
<updated>2022-11-19T22:25:18+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2022-11-19T22:25:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cd1f782b742f2c83d91648efae35dfd0d79cec08'/>
<id>urn:sha1:cd1f782b742f2c83d91648efae35dfd0d79cec08</id>
<content type='text'>
Don't duplicate last cdb debuginfo test command

cdb scripts interpret a blank line to mean "repeat the last command", similar to what happens when running the debugger from a console. The code for compiletest that constructs the debugger script was inserting a blank line between the last command and the "quit" command. This caused the last command to be executed twice. This can cause some confusion since the `-check` lines are expecting the output in a certain order. But printing the last command twice causes that order-assumption to fail, and that can cause confusion.

This fixes it by removing the blank line.

AFAICT, gdb and lldb scripts don't have the same behavior with blank lines (and the gdb code doesn't add any blank lines anyways).
</content>
</entry>
<entry>
<title>Merge basic blocks where possible when generating LLVM IR.</title>
<updated>2022-11-16T04:46:39+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2022-10-16T21:29:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=54082dd21695373b770bd11e042e564396598c2a'/>
<id>urn:sha1:54082dd21695373b770bd11e042e564396598c2a</id>
<content type='text'>
In `codegen_assert_terminator` we decide if a BB's successor is a
candidate for merging, which requires that it be the only successor, and
that it only have one predecessor. That result then gets passed down,
and if it reaches `funclet_br` with the appropriate BB characteristics,
then no `br` instruction is issued, a `MergingSucc::True` result is
passed back, and the merging proceeds in `codegen_block`.

The commit also adds `CachedLlbb`, a new type to help keep track of
each BB that has been merged into its predecessor.
</content>
</entry>
<entry>
<title>Don't duplicate last cdb debuginfo test command</title>
<updated>2022-11-16T01:04:20+00:00</updated>
<author>
<name>Eric Huss</name>
<email>eric@huss.org</email>
</author>
<published>2022-11-16T01:04:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=425a7af9193df1d4debab5a6c4c8fa72c3290298'/>
<id>urn:sha1:425a7af9193df1d4debab5a6c4c8fa72c3290298</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update debuginfo check</title>
<updated>2022-11-10T16:31:23+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2022-11-06T20:44:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f30614a08877fac8c78113bd7823e1f4c9d20633'/>
<id>urn:sha1:f30614a08877fac8c78113bd7823e1f4c9d20633</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>Auto merge of #99556 - davidtwco:collapse-debuginfo, r=wesleywiser</title>
<updated>2022-09-13T01:19:05+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2022-09-13T01:19:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0df1ddc185af0d1b8d476851a50c42a31ebbb741'/>
<id>urn:sha1:0df1ddc185af0d1b8d476851a50c42a31ebbb741</id>
<content type='text'>
ssa: implement `#[collapse_debuginfo]`

cc #39153 rust-lang/compiler-team#386

Debuginfo line information for macro invocations are collapsed by default - line information are replaced by the line of the outermost expansion site. Using `-Zdebug-macros` disables this behaviour.

When the `collapse_debuginfo` feature is enabled, the default behaviour is reversed so that debuginfo is not collapsed by default. In addition, the `#[collapse_debuginfo]` attribute is available and can be applied to macro definitions which will then have their line information collapsed.

r? rust-lang/wg-debugging
</content>
</entry>
<entry>
<title>Change name of "dataful" variant to "untagged"</title>
<updated>2022-09-07T20:12:45+00:00</updated>
<author>
<name>Michael Benfield</name>
<email>mbenfield@google.com</email>
</author>
<published>2022-08-25T01:14:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1a08b96a0bb7c170130144214787b4a46aa5eb17'/>
<id>urn:sha1:1a08b96a0bb7c170130144214787b4a46aa5eb17</id>
<content type='text'>
This is in anticipation of a new enum layout, in which the niche
optimization may be applied even when multiple variants have data.
</content>
</entry>
<entry>
<title>ssa: implement `#[collapse_debuginfo]`</title>
<updated>2022-09-07T12:54:51+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood@huawei.com</email>
</author>
<published>2022-07-21T15:19:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=38958aa8bdd2b46dd7f9213bda1c9c6433282a68'/>
<id>urn:sha1:38958aa8bdd2b46dd7f9213bda1c9c6433282a68</id>
<content type='text'>
Debuginfo line information for macro invocations are collapsed by
default - line information are replaced by the line of the outermost
expansion site. Using `-Zdebug-macros` disables this behaviour.

When the `collapse_debuginfo` feature is enabled, the default behaviour
is reversed so that debuginfo is not collapsed by default. In addition,
the `#[collapse_debuginfo]` attribute is available and can be applied to
macro definitions which will then have their line information collapsed.

Signed-off-by: David Wood &lt;david.wood@huawei.com&gt;
</content>
</entry>
</feed>
