llvm::FaultMapParser

A parser for the __llvm_faultmaps section.

Synopsis

Declared in <llvm/Object/FaultMapParser.h>

class FaultMapParser;

Description

Generated by the FaultMaps class declared in llvm/CodeGen/FaultMaps.h. This parser is version locked with with the __llvm_faultmaps section generated by the version of LLVM that includes it. No guarantees are made with respect to forward or backward compatibility.

Types

NameDescription
FunctionFaultInfoAccessor Accessor for a single function fault-info record.
FunctionInfoAccessor Accessor for a function info record and its nested fault infos.

Enums

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

Member Functions

NameDescription
FaultMapParser [constructor]Construct a parser over the fault map bytes in []Begin, End).
getFaultMapVersion Get the fault map format version.
getFirstFunctionInfo Get an accessor for the first function info record.
getNumFunctions Get the number of function info records in the fault map.