New PM pass that prepares Windows exception handling for code generation.

Synopsis

Declared in <llvm/CodeGen/WinEHPrepare.h>

class WinEHPreparePass
    : public RequiredPassInfoMixin<WinEHPreparePass>

Description

Transforms IR exception handling into the Windows funclet‐based form expected by code generation. Required if using Windows exception handling.

Base Classes

Name

Description

RequiredPassInfoMixin<WinEHPreparePass>

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

Member Functions

Name

Description

WinEHPreparePass [constructor]

Construct a pass that optionally demotes only catchswitch‐related PHIs.

run

Prepare Windows exception handling in F for code generation.

Static Member Functions

Name

Description

isRequired

Return true; required passes cannot be skipped.

Created with MrDocs