<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_llvm/src/debuginfo/mod.rs, branch 1.65.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.65.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.65.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-09-01T14:54:27+00:00</updated>
<entry>
<title>Always import all tracing macros for the entire crate instead of piecemeal by module</title>
<updated>2022-09-01T14:54:27+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2022-08-31T13:09:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ee3c8350189de045ec71997874eaa6cebf99fbf3'/>
<id>urn:sha1:ee3c8350189de045ec71997874eaa6cebf99fbf3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix dwarf debuginfo being used in addition to CodeView on windows</title>
<updated>2022-07-14T18:41:55+00:00</updated>
<author>
<name>Rémy Rakic</name>
<email>remy.rakic+github@gmail.com</email>
</author>
<published>2022-07-14T18:41:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=97510f212852d4733c4c6ffafcaa7e488c5fcb19'/>
<id>urn:sha1:97510f212852d4733c4c6ffafcaa7e488c5fcb19</id>
<content type='text'>
Fixes the debuginfo size increase regression introduced by the DWARF5 support.
</content>
</entry>
<entry>
<title>Rename `debugging_opts` to `unstable_opts`</title>
<updated>2022-07-13T22:47:06+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jnelson@cloudflare.com</email>
</author>
<published>2022-07-06T12:44:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3c9765cff18a3c4ba2962ea59d4c3f6966f9700c'/>
<id>urn:sha1:3c9765cff18a3c4ba2962ea59d4c3f6966f9700c</id>
<content type='text'>
This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`).
Rename it to be more clear.
</content>
</entry>
<entry>
<title>Implement support for DWARF version 5.</title>
<updated>2022-07-08T18:31:08+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@fb.com</email>
</author>
<published>2022-06-20T23:26:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1e0ad0c1d4fdca7a37221e05fd5e39739d9084f5'/>
<id>urn:sha1:1e0ad0c1d4fdca7a37221e05fd5e39739d9084f5</id>
<content type='text'>
DWARF version 5 brings a number of improvements over version 4. Quoting from
the announcement [1]:

&gt; Version 5 incorporates improvements in many areas: better data compression,
&gt; separation of debugging data from executable files, improved description of
&gt; macros and source files, faster searching for symbols, improved debugging
&gt; optimized code, as well as numerous improvements in functionality and
&gt; performance.

On platforms where DWARF version 5 is supported (Linux, primarily), this commit
adds support for it behind a new `-Z dwarf-version=5` flag.

[1]: https://dwarfstd.org/Public_Review.php
</content>
</entry>
<entry>
<title>Update TypeVisitor paths</title>
<updated>2022-07-06T05:41:53+00:00</updated>
<author>
<name>Alan Egerton</name>
<email>eggyal@gmail.com</email>
</author>
<published>2022-06-17T12:15:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4f0a64736b94a84da4272867366b8679b585e603'/>
<id>urn:sha1:4f0a64736b94a84da4272867366b8679b585e603</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move/rename `lazy::{OnceCell, Lazy}` to `cell::{OnceCell, LazyCell}`</title>
<updated>2022-06-16T15:53:59+00:00</updated>
<author>
<name>Maybe Waffle</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2022-06-16T15:41:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7c360dc117d554a11f7193505da0835c4b890c6f'/>
<id>urn:sha1:7c360dc117d554a11f7193505da0835c4b890c6f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Properly apply path prefix remapping paths emitted into debuginfo.</title>
<updated>2022-05-18T10:19:01+00:00</updated>
<author>
<name>Michael Woerister</name>
<email>michaelwoerister@posteo</email>
</author>
<published>2022-05-05T15:26:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6411fef3aba5ba54a02b54b171b4e9bc83687ce9'/>
<id>urn:sha1:6411fef3aba5ba54a02b54b171b4e9bc83687ce9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>not need `Option` for `dbg_scope`</title>
<updated>2022-04-26T13:00:19+00:00</updated>
<author>
<name>SparrowLii</name>
<email>liyuan179@huawei.com</email>
</author>
<published>2022-04-26T13:00:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=843e8d19ec9dc0f1c0ddd700210761aef2b180d5'/>
<id>urn:sha1:843e8d19ec9dc0f1c0ddd700210761aef2b180d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>debuginfo: Refactor debuginfo generation for types -- Rename DebugInfoMethods::create_vtable_metadata() to DebugInfoMethods::create_vtable_debuginfo()</title>
<updated>2022-03-14T16:25:24+00:00</updated>
<author>
<name>Michael Woerister</name>
<email>michaelwoerister@posteo</email>
</author>
<published>2022-03-14T16:18:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=584855e03d5b42d34cc259ab4ef3d01a637ad1c6'/>
<id>urn:sha1:584855e03d5b42d34cc259ab4ef3d01a637ad1c6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>debuginfo: Refactor debuginfo generation for types</title>
<updated>2022-03-14T15:49:06+00:00</updated>
<author>
<name>Michael Woerister</name>
<email>michaelwoerister@posteo</email>
</author>
<published>2022-03-03T10:15:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=07ebc13d87796622bb6e4ac46a7e6a054bc4c680'/>
<id>urn:sha1:07ebc13d87796622bb6e4ac46a7e6a054bc4c680</id>
<content type='text'>
This commit
- changes names to use di_node instead of metadata
- uniformly names all functions that build new debuginfo nodes build_xyz_di_node
- renames CrateDebugContext to CodegenUnitDebugContext (which is more accurate)
- moves TypeMap and functions that work directly work with it to a new type_map module
- moves and reimplements enum related builder functions to a new enums module
- splits enum debuginfo building for the native and cpp-like cases, since they are mostly separate
- uses SmallVec instead of Vec in many places
- removes the old infrastructure for dealing with recursion cycles (create_and_register_recursive_type_forward_declaration(), RecursiveTypeDescription, set_members_of_composite_type(), MemberDescription, MemberDescriptionFactory, prepare_xyz_metadata(), etc)
- adds type_map::build_type_with_children() as a replacement for dealing with recursion cycles
- adds many (doc-)comments explaining what's going on
- changes cpp-like naming for C-Style enums so they don't get a enum$&lt;...&gt; name (because the NatVis visualizer does not apply to them)
- fixes detection of what is a C-style enum because some enums where classified as C-style even though they have fields
- changes the position of discriminant debuginfo node so it is consistently nested inside the top-level union instead of, sometimes, next to it
</content>
</entry>
</feed>
