Struct llvm_ir::instruction::CatchPad [−][src]
pub struct CatchPad { pub catch_switch: Operand, pub args: Vec<Operand>, pub dest: Name, pub debugloc: Option<DebugLoc>, }
Expand description
Used for exception handling. See LLVM 12 docs on the ‘catchpad’ instruction
Fields
catch_switch: Operand
args: Vec<Operand>
dest: Name
debugloc: 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
Auto Trait Implementations
impl RefUnwindSafe for CatchPad
impl UnwindSafe for CatchPad
Blanket Implementations
Mutably borrows from an owned value. Read more