rustc_codegen_ssa::traits

Trait TypeMembershipCodegenMethods

source
pub trait TypeMembershipCodegenMethods<'tcx>: BackendTypes {
    // Provided methods
    fn add_type_metadata(&self, _function: Self::Function, _typeid: String) { ... }
    fn set_type_metadata(&self, _function: Self::Function, _typeid: String) { ... }
    fn typeid_metadata(&self, _typeid: String) -> Option<Self::Metadata> { ... }
    fn add_kcfi_type_metadata(&self, _function: Self::Function, _typeid: u32) { ... }
    fn set_kcfi_type_metadata(&self, _function: Self::Function, _typeid: u32) { ... }
}

Provided Methods§

source

fn add_type_metadata(&self, _function: Self::Function, _typeid: String)

source

fn set_type_metadata(&self, _function: Self::Function, _typeid: String)

source

fn typeid_metadata(&self, _typeid: String) -> Option<Self::Metadata>

source

fn add_kcfi_type_metadata(&self, _function: Self::Function, _typeid: u32)

source

fn set_kcfi_type_metadata(&self, _function: Self::Function, _typeid: u32)

Implementors§