Skip to main content

Module typeid

Module typeid 

Source
Expand description

Type metadata identifiers for LLVM Kernel Control Flow Integrity (KCFI) and cross-language LLVM KCFI support for the Rust compiler.

For more information about LLVM KCFI and cross-language LLVM KCFI support for the Rust compiler, see the tracking issue #123479.

Re-exportsยง

use std::hash::Hasher; ๐Ÿ”’
use rustc_middle::ty::Instance; ๐Ÿ”’
use rustc_middle::ty::InstanceKind; ๐Ÿ”’
use rustc_middle::ty::ReifyReason; ๐Ÿ”’
use rustc_middle::ty::ShimKind; ๐Ÿ”’
use rustc_middle::ty::Ty; ๐Ÿ”’
use rustc_middle::ty::TyCtxt; ๐Ÿ”’
use rustc_target::callconv::FnAbi; ๐Ÿ”’
use twox_hash::XxHash64; ๐Ÿ”’
pub use crate::cfi::typeid::TypeIdOptions;
pub use crate::cfi::typeid::itanium_cxx_abi;

Functionsยง

typeid_for_fnabi
Returns a KCFI type metadata identifier for the specified FnAbi.
typeid_for_instance
Returns a KCFI type metadata identifier for the specified Instance.