llvm::IRBuilderBase::CreateCatchPad

Create a catch pad.

Synopsis

Declared in <llvm/IR/IRBuilder.h>

CatchPadInst*
CreateCatchPad(
    Value* ParentPad,
    ArrayRef<Value*> Args,
    Twine const& Name = "");

Return Value

The created catchpad instruction.

Parameters

NameDescription
ParentPadParent pad token for the EH instruction.
ArgsArgument list for the call.
NameName of the new instruction or value.