llvm::createSjLjEHPreparePass

createSjLjEHPreparePass - This pass adapts exception handling code to use the GCC-style builtin setjmp/longjmp (sjlj) to handling EH control flow.

Synopsis

Declared in <llvm/CodeGen/Passes.h>

FunctionPass*
createSjLjEHPreparePass(TargetMachine const* TM);

Return Value

The newly created FunctionPass.

Parameters

NameDescription
TMTarget machine used to prepare SJLJ exception handling.