<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_llvm/src/debuginfo, branch lcnr/rustc-dev-guide</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=lcnr/rustc-dev-guide</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=lcnr/rustc-dev-guide'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-08-06T18:01:07+00:00</updated>
<entry>
<title>Revert "Preserve the .debug_gdb_scripts section"</title>
<updated>2025-08-06T18:01:07+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-08-06T18:01:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e02cc40ec96457ab563273a69d314418cea7eb84'/>
<id>urn:sha1:e02cc40ec96457ab563273a69d314418cea7eb84</id>
<content type='text'>
This reverts commit 868bdde25b030e0b71a29a5dbc04a891036e702e.
</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>
<entry>
<title>Preserve the .debug_gdb_scripts section</title>
<updated>2025-08-05T08:55:07+00:00</updated>
<author>
<name>Sebastian Poeplau</name>
<email>poeplau@adacore.com</email>
</author>
<published>2025-08-01T10:39:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=868bdde25b030e0b71a29a5dbc04a891036e702e'/>
<id>urn:sha1:868bdde25b030e0b71a29a5dbc04a891036e702e</id>
<content type='text'>
Make sure that compiler and linker don't optimize the section's contents
away by adding the global holding the data to "llvm.used". The volatile
load in the main shim is retained because "llvm.used", which translates
to SHF_GNU_RETAIN on ELF targets, requires a reasonably recent linker;
emitting the volatile load ensures compatibility with older linkers, at
least when libstd is used.

Pretty printers in dylib dependencies are now emitted by the main crate
instead of the dylib; apart from matching how rlibs are handled, this
approach has the advantage that `omit_gdb_pretty_printer_section` keeps
working with dylib dependencies.
</content>
</entry>
<entry>
<title>Remove the omit_gdb_pretty_printer_section attribute</title>
<updated>2025-08-01T20:04:59+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-07-31T14:56:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ae2f8d921654f01e008824385fb1e1d7b36ce705'/>
<id>urn:sha1:ae2f8d921654f01e008824385fb1e1d7b36ce705</id>
<content type='text'>
Disabling loading of pretty printers in the debugger itself is more
reliable. Before this commit the .gdb_debug_scripts section couldn't be
included in dylibs or rlibs as otherwise there is no way to disable the
section anymore without recompiling the entire standard library.
</content>
</entry>
<entry>
<title>remove rustc_attr_data_structures</title>
<updated>2025-07-31T12:19:27+00:00</updated>
<author>
<name>Jana Dönszelmann</name>
<email>jana@donsz.nl</email>
</author>
<published>2025-07-31T09:00:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e1d3ad89c7a2ad4f5d944a7fee1298ffe8c99645'/>
<id>urn:sha1:e1d3ad89c7a2ad4f5d944a7fee1298ffe8c99645</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #144407 - godzie44:godzie44/fix_dwarf_inconsistency, r=wesleywiser</title>
<updated>2025-07-29T10:19:49+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-07-29T10:19:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b3962e88114a5f633011d8670f318e1c20ba41b6'/>
<id>urn:sha1:b3962e88114a5f633011d8670f318e1c20ba41b6</id>
<content type='text'>
fix(debuginfo): disable overflow check for recursive non-enum types

Commit b10edb4 introduce an overflow check when generating debuginfo for expanding recursive types. While this check works correctly for enums, it can incorrectly prune valid debug information for structures.

For example see rust-lang/rust#143241 (https://github.com/rust-lang/rust/issues/143241#issuecomment-3073721477). Furthermore, for structures such check does not make sense, since structures with recursively expanding types simply will not compile (there is a `hir_analysis_recursive_generic_parameter` for that).

closes rust-lang/rust#143241
</content>
</entry>
<entry>
<title>Rename impl_of_method -&gt; impl_of_assoc</title>
<updated>2025-07-28T14:54:53+00:00</updated>
<author>
<name>Cameron Steffen</name>
<email>cam.steffen94@gmail.com</email>
</author>
<published>2025-07-25T00:09:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b43164cef643957f9e1cd20dffdbb736f3f3c298'/>
<id>urn:sha1:b43164cef643957f9e1cd20dffdbb736f3f3c298</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(debuginfo): disable overflow check for</title>
<updated>2025-07-27T11:42:07+00:00</updated>
<author>
<name>godzie44</name>
<email>godzie@yandex.ru</email>
</author>
<published>2025-07-24T13:30:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=49eda8edd5c99e4c65c687fff0b8e194eb339a23'/>
<id>urn:sha1:49eda8edd5c99e4c65c687fff0b8e194eb339a23</id>
<content type='text'>
recursive non-enum types
</content>
</entry>
<entry>
<title>Rollup merge of #143920 - oli-obk:cg-llvm-safety, r=jieyouxu</title>
<updated>2025-07-16T15:06:40+00:00</updated>
<author>
<name>Samuel Tardieu</name>
<email>sam@rfc1149.net</email>
</author>
<published>2025-07-16T15:06:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b564ecf04bda12431116daa21efc88e8757ff748'/>
<id>urn:sha1:b564ecf04bda12431116daa21efc88e8757ff748</id>
<content type='text'>
Make more of codegen_llvm safe

Best reviewed commit-by-commit.
</content>
</entry>
</feed>
