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§