Skip to main content

Module typeid

Module typeid 

Source
Expand description

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

For more information about LLVM CFI and cross-language LLVM CFI support for the Rust compiler, see design document in the tracking issue #89653.

Re-exportsยง

use bitflags::bitflags; ๐Ÿ”’
use rustc_middle::ty::Instance; ๐Ÿ”’
use rustc_middle::ty::Ty; ๐Ÿ”’
use rustc_middle::ty::TyCtxt; ๐Ÿ”’
use rustc_target::callconv::FnAbi; ๐Ÿ”’

Modulesยง

itanium_cxx_abi
Type metadata identifiers (using Itanium C++ ABI mangling for encoding) for LLVM Control Flow Integrity (CFI) and cross-language LLVM CFI support.

Structsยง

TypeIdOptions
Options for typeid_for_fnabi.

Functionsยง

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