Expand description
Encodes type metadata identifiers for LLVM CFI and cross-language LLVM CFI support using Itanium C++ ABI mangling for encoding with vendor extended type qualifiers and types for Rust types that are not used across the FFI boundary.
For more information about LLVM CFI and cross-language LLVM CFI support for the Rust compiler, see design document in the tracking issue #89653.
Enumsยง
Functionsยง
- compress ๐Substitutes a component if found in the substitution dictionary (see https://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangling-compression).
- encode_
args ๐Encodes args using the Itanium C++ ABI with vendor extended type qualifiers and types for Rust types that are not used at the FFI boundary. - encode_
const ๐Encodes a const using the Itanium C++ ABI as a literal argument (see https://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangling.literal). - encode_
fnsig ๐Encodes a FnSig using the Itanium C++ ABI with vendor extended type qualifiers and types for Rust types that are not used at the FFI boundary. - encode_
predicate ๐Encodes a predicate using the Itanium C++ ABI with vendor extended type qualifiers and types for Rust types that are not used at the FFI boundary. - encode_
predicates ๐Encodes predicates using the Itanium C++ ABI with vendor extended type qualifiers and types for Rust types that are not used at the FFI boundary. - encode_
region ๐Encodes a region using the Itanium C++ ABI as a vendor extended type. - encode_
ty ๐Encodes a ty:Ty using the Itanium C++ ABI with vendor extended type qualifiers and types for Rust types that are not used at the FFI boundary. - encode_
ty_ ๐name Encodes a ty:Ty name, including its crate and path disambiguators and names. - to_
disambiguator ๐Converts a number to a disambiguator (see https://rust-lang.github.io/rfcs/2603-rust-symbol-name-mangling-v0.html). - to_
seq_ ๐id Converts a number to a sequence number (see https://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangle.seq-id).
Type Aliasesยง
- Encode
TyOptions ๐Options for encode_ty.