rust/compiler/rustc_symbol_mangling/src
Matthew Maurer fb2c27d73f CFI: Monomorphize transparent ADTs before typeid
Monomorphise `#[repr(transparent)]` parameterized ADTs before turning
them into an Itanium mangled String.

`#[repr(transparent)]` ADTs currently use the single field to represent
them in their CFI type ID to ensure that they are compatible. However,
if that type involves a type parameter instantiated at the ADT level, as
in `ManuallyDrop`, this will currently ICE as the `Parameter` type
cannot be mangled. Since this happens at lowering time, it should always
be concrete after substitution.

Fixes #106230
2022-12-29 10:21:07 -08:00
..
typeid CFI: Monomorphize transparent ADTs before typeid 2022-12-29 10:21:07 -08:00
errors.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
legacy.rs Ensure no one constructs AliasTys themselves 2022-12-14 15:36:39 +00:00
lib.rs Always import all tracing macros for the entire crate instead of piecemeal by module 2022-09-01 14:54:27 +00:00
test.rs Rename some OwnerId fields. 2022-10-29 20:28:38 +11:00
typeid.rs Add LLVM KCFI support to the Rust compiler 2022-12-08 17:24:39 -08:00
v0.rs Ensure no one constructs AliasTys themselves 2022-12-14 15:36:39 +00:00