<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_llvm/src/debuginfo/utils.rs, branch 1.77.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.77.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.77.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-07-30T12:22:50+00:00</updated>
<entry>
<title>inline format!() args up to and including rustc_codegen_llvm</title>
<updated>2023-07-30T12:22:50+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-07-25T21:04:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3ce90b16490490aea6da61f913fb0ecbc5d4ec7a'/>
<id>urn:sha1:3ce90b16490490aea6da61f913fb0ecbc5d4ec7a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move `TyCtxt::mk_x` to `Ty::new_x` where applicable</title>
<updated>2023-07-05T19:27:07+00:00</updated>
<author>
<name>Boxy</name>
<email>supbscripter@gmail.com</email>
</author>
<published>2023-07-05T19:13:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=12138b8e5e840b7446a0893e3cb02a9c05095930'/>
<id>urn:sha1:12138b8e5e840b7446a0893e3cb02a9c05095930</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_middle: Remove trait `DefIdTree`</title>
<updated>2023-03-02T19:46:44+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2023-02-22T15:51:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c83553da318a6d7e736d5a9e92b18fbdd3d76845'/>
<id>urn:sha1:c83553da318a6d7e736d5a9e92b18fbdd3d76845</id>
<content type='text'>
This trait was a way to generalize over both `TyCtxt` and `Resolver`, but now `Resolver` has access to `TyCtxt`, so this trait is no longer necessary.
</content>
</entry>
<entry>
<title>add is_sized method on Abi and Layout, and use it</title>
<updated>2022-11-13T11:23:53+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2022-11-13T11:14:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c78021709a3e0265e6ac3c82fe50c1d4fc67467f'/>
<id>urn:sha1:c78021709a3e0265e6ac3c82fe50c1d4fc67467f</id>
<content type='text'>
</content>
</entry>
<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>rustc: Panic by default in `DefIdTree::parent`</title>
<updated>2022-05-01T22:56:50+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2022-04-25T19:08:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5b5964f569ca07ba54710cb440aacaa1cf1e5c1a'/>
<id>urn:sha1:5b5964f569ca07ba54710cb440aacaa1cf1e5c1a</id>
<content type='text'>
Only crate root def-ids don't have a parent, and in majority of cases the argument of `DefIdTree::parent` cannot be a crate root.
So we now panic by default in `parent` and introduce a new non-panicing function `opt_parent` for cases where the argument can be a crate root.

Same applies to `local_parent`/`opt_local_parent`.
</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>
<entry>
<title>properly handle fat pointers to uninhabitable types</title>
<updated>2022-02-23T16:20:12+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2022-02-23T16:11:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c73a2f8a652134bd7bf00ca61ca65bd7adb8aec7'/>
<id>urn:sha1:c73a2f8a652134bd7bf00ca61ca65bd7adb8aec7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>debuginfo: Support fat pointers to unsized tuples.</title>
<updated>2022-02-16T12:29:00+00:00</updated>
<author>
<name>Michael Woerister</name>
<email>michaelwoerister@posteo</email>
</author>
<published>2022-02-16T10:18:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=28ca6b0f79ebe238d1deb0c06b0b17396716b958'/>
<id>urn:sha1:28ca6b0f79ebe238d1deb0c06b0b17396716b958</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[debuginfo] Fix and unify handling of fat pointers in debuginfo.</title>
<updated>2022-01-24T12:41:32+00:00</updated>
<author>
<name>Michael Woerister</name>
<email>michaelwoerister@posteo</email>
</author>
<published>2022-01-13T17:13:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d253e6e473c7614eb16f6144ab6a0f95e89db604'/>
<id>urn:sha1:d253e6e473c7614eb16f6144ab6a0f95e89db604</id>
<content type='text'>
</content>
</entry>
</feed>
