<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/debuginfo, branch auto</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=auto</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=auto'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-10-02T06:55:51+00:00</updated>
<entry>
<title>codegen: Generate `dbg_value` for the ref statement</title>
<updated>2025-10-02T06:55:51+00:00</updated>
<author>
<name>dianqk</name>
<email>dianqk@dianqk.net</email>
</author>
<published>2025-06-18T14:04:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1bd89bd42e0bb6f29b8af5d6bdf3f756196bb8ee'/>
<id>urn:sha1:1bd89bd42e0bb6f29b8af5d6bdf3f756196bb8ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Ignore basic-stepping.rs on riscv64</title>
<updated>2025-08-29T08:11:48+00:00</updated>
<author>
<name>Caiweiran</name>
<email>cai.weiran.zte.com.cn</email>
</author>
<published>2025-08-29T08:11:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a54567e76ce0b32c6d48d019ab4bd9c8a7070933'/>
<id>urn:sha1:a54567e76ce0b32c6d48d019ab4bd9c8a7070933</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #145745 - heiher:ignore-basic-stepping, r=lqd</title>
<updated>2025-08-23T02:00:58+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2025-08-23T02:00:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=561656db6789caface445d993b015d709ddbb635'/>
<id>urn:sha1:561656db6789caface445d993b015d709ddbb635</id>
<content type='text'>
tests: Ignore basic-stepping.rs on LoongArch
</content>
</entry>
<entry>
<title>Rollup merge of #145218 - nilptr:nilptr/feat/lldb-enum-pretty-printer, r=Mark-Simulacrum</title>
<updated>2025-08-23T02:00:49+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2025-08-23T02:00:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5cfdbd6c08681249cab4794366d2ade92e1f7c03'/>
<id>urn:sha1:5cfdbd6c08681249cab4794366d2ade92e1f7c03</id>
<content type='text'>
[Debuginfo] improve enum value formatting in LLDB for better readability

&gt; TL;DR: When debugging with CodeLLDB, I noticed enum values were often hard to read because LLDB lists every possible variant, resulting in a verbose and cluttered view, even though only one variant is actually valid. Interestingly, raw enum types display nicely. After some investigation, I found that `&amp;enum` values get classified as `Other`, so it falls back to `DefaultSyntheticProvider`, which causes this verbose output.

## What does this PR do?

This PR contains 2 commits:

1. change the enum value formatting from showing 2 separate fields (`value` for attached data and `$discr$` for the discriminator) to a concise `&lt;readable variant name&gt;: &lt;attached data&gt;` format
2. dereference pointer types in `classify_rust_type` so that it can return more accurate type for reference type

## Self-test proof

Before:

&lt;img width="1706" height="799" alt="before" src="https://github.com/user-attachments/assets/b66c7e22-990a-4da5-9036-34e3f9f62367" /&gt;

After:

&lt;img width="1541" height="678" alt="after" src="https://github.com/user-attachments/assets/36db32e2-f822-4883-8f17-cb8067e509f6" /&gt;
</content>
</entry>
<entry>
<title>tests: Ignore basic-stepping.rs on LoongArch</title>
<updated>2025-08-22T07:58:52+00:00</updated>
<author>
<name>WANG Rui</name>
<email>wangrui@loongson.cn</email>
</author>
<published>2025-08-22T07:58:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d61353ff43a328c9d5116f6dfb5820e852449d11'/>
<id>urn:sha1:d61353ff43a328c9d5116f6dfb5820e852449d11</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #145297 - adwinwhite:recursive-debuginfo, r=wesleywiser</title>
<updated>2025-08-21T05:12:16+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2025-08-21T05:12:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=537d5f40a6d45c3531df85555952e277977fbaaf'/>
<id>urn:sha1:537d5f40a6d45c3531df85555952e277977fbaaf</id>
<content type='text'>
fix(debuginfo): handle false positives in overflow check

Fixes rust-lang/rust#144636.

Duplicate wrappers and normal recursive types can lead to false positives.
```rust
struct Recursive {
	a: Box&lt;Box&lt;Recursive&gt;&gt;,
}
```
The ADT stack can be:
- `Box&lt;Recursive&gt;`
- `Recursive`
- `Box&lt;Box&lt;Recursive&gt;&gt;` (`Box` now detected as expanding)

We can filter them out by tracing the generic arg back through the stack, as true expanding recursive types must have their expanding arg used as generic arg throughout.

r? ````@wesleywiser````
</content>
</entry>
<entry>
<title>feat(lldb debug info): improve enum value formatting in lldb</title>
<updated>2025-08-17T13:15:18+00:00</updated>
<author>
<name>nilptr</name>
<email>nilptr.js@gmail.com</email>
</author>
<published>2025-08-10T14:16:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=12eb1a0bce83b569f0500f0a78972a1102906264'/>
<id>urn:sha1:12eb1a0bce83b569f0500f0a78972a1102906264</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(debuginfo): handle false positives in overflow check</title>
<updated>2025-08-12T09:13:13+00:00</updated>
<author>
<name>Adwin White</name>
<email>adwinw01@gmail.com</email>
</author>
<published>2025-08-12T09:13:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e13e1e4c0c3253d25e2571ed7e58b3a02e28e922'/>
<id>urn:sha1:e13e1e4c0c3253d25e2571ed7e58b3a02e28e922</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "Embed GDB pretty printers in rlibs and dylibs"</title>
<updated>2025-08-06T18:00:58+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-08-06T18:00:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=270c1a4d24ba4b244037c3fa1651d17a5f77eae4'/>
<id>urn:sha1:270c1a4d24ba4b244037c3fa1651d17a5f77eae4</id>
<content type='text'>
This reverts commit b4d923cea0509933b1fb859930cb20784251f9be.
</content>
</entry>
<entry>
<title>Embed GDB pretty printers in rlibs and dylibs</title>
<updated>2025-08-06T11:24:43+00:00</updated>
<author>
<name>Sebastian Poeplau</name>
<email>poeplau@adacore.com</email>
</author>
<published>2025-08-01T11:22:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b4d923cea0509933b1fb859930cb20784251f9be'/>
<id>urn:sha1:b4d923cea0509933b1fb859930cb20784251f9be</id>
<content type='text'>
Instead of collecting pretty printers transitively when building
executables/staticlibs/cdylibs, let the debugger find each crate's
pretty printers via its .debug_gdb_scripts section. This covers the case
where libraries defining custom pretty printers are loaded dynamically.
</content>
</entry>
</feed>
