rust/compiler/rustc_symbol_mangling
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
..
src CFI: Monomorphize transparent ADTs before typeid 2022-12-29 10:21:07 -08:00
Cargo.toml Add LLVM KCFI support to the Rust compiler 2022-12-08 17:24:39 -08:00