New PM pass that inserts correcting CFI instructions.

Synopsis

Declared in <llvm/CodeGen/CFIInstrInserter.h>

class CFIInstrInserterPass
    : public RequiredPassInfoMixin<CFIInstrInserterPass>

Description

Verifies CFA information across basic‐block boundaries and inserts additional CFI instructions at block beginnings when predecessors leave an incorrect CFA offset or register due to non‐linear layout.

Base Classes

Name

Description

RequiredPassInfoMixin<CFIInstrInserterPass>

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

Member Functions

Name

Description

run

Insert correcting CFI instructions in MF.

Static Member Functions

Name

Description

isRequired

Return true; required passes cannot be skipped.

Created with MrDocs