rust/compiler/rustc_codegen_ssa
Michael Woerister fd7557b7ee debuginfo: Make sure that type names for closure and generator environments are unique in debuginfo.
Before this change, closure/generator environments coming from different
instantiations of the same generic function were all assigned the same
name even though they were distinct types with potentially different data
layout. Now we append the generic arguments of the originating function
to the type name.

This commit also emits '{closure_env#0}' as the name of these types in
order to disambiguate them from the accompanying closure function
'{closure#0}'. Previously both were assigned the same name.
2022-02-01 10:39:40 +01:00
..
src debuginfo: Make sure that type names for closure and generator environments are unique in debuginfo. 2022-02-01 10:39:40 +01:00
Cargo.toml update Cargo.lock and gimli-rs/object for rustc_codegen_ssa 2022-01-07 13:33:20 +08:00
README.md

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.