New PM pass that prepares setjmp/longjmp exception handling for code generation.

Synopsis

Declared in <llvm/CodeGen/SjLjEHPrepare.h>

class SjLjEHPreparePass
    : public RequiredPassInfoMixin<SjLjEHPreparePass>

Description

Adapts exception handling code to use the GCC‐style builtin setjmp/longjmp (sjlj) for EH control flow. Required if using sjlj exception handling.

Base Classes

Name

Description

RequiredPassInfoMixin<SjLjEHPreparePass>

A CRTP mix‐in for passes that should not be skipped.

Member Functions

Name

Description

SjLjEHPreparePass [constructor]

Construct a pass using target information from TM.

run

Prepare setjmp/longjmp exception handling in F for code generation.

Static Member Functions

Name

Description

isRequired

Return true; required passes cannot be skipped.

Created with MrDocs