Collects potentially‐faulting operations and serializes the __llvm_faultmaps section.

Synopsis

Declared in <llvm/CodeGen/FaultMaps.h>

class FaultMaps;

Enums

Name

Description

FaultKind

Kinds of potentially‐faulting operations recorded in a fault map.

Member Functions

Name

Description

FaultMaps [constructor]

Construct a fault maps collector bound to AsmPrinter AP.

recordFaultingOp

Record a faulting operation of kind FaultTy at FaultingLabel with handler HandlerLabel.

reset

Clear all recorded function fault infos.

serializeToFaultMapSection

Emit collected fault map data into the __llvm_faultmaps section.

Static Member Functions

Name

Description

faultTypeToString

Return a printable name for fault kind FT.

Created with MrDocs