llvm::FaultMaps

Collects potentially-faulting operations and serializes the __llvm_faultmaps section.

Synopsis

Declared in <llvm/CodeGen/FaultMaps.h>

class FaultMaps;

Enums

NameDescription
FaultKind Kinds of potentially-faulting operations recorded in a fault map.

Member Functions

NameDescription
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

NameDescription
faultTypeToString Return a printable name for fault kind FT.