Struct llvm_ir::instruction::LandingPad [−][src]
pub struct LandingPad {
pub result_type: TypeRef,
pub clauses: Vec<LandingPadClause>,
pub dest: Name,
pub cleanup: bool,
pub debugloc: Option<DebugLoc>,
}Expand description
Used for exception handling. See LLVM 12 docs on the ‘landingpad’ instruction
Fields
result_type: TypeRefclauses: Vec<LandingPadClause>dest: Namecleanup: booldebugloc: Option<DebugLoc>Trait Implementations
Performs the conversion.
Returns the DebugLoc associated with the given Instruction,
Terminator, GlobalVariable, or Function; or None if it doesn’t
have a DebugLoc. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for LandingPadimpl Send for LandingPadimpl Sync for LandingPadimpl Unpin for LandingPadimpl UnwindSafe for LandingPadBlanket Implementations
Mutably borrows from an owned value. Read more