LLVM  6.0.0svn
Classes | Public Member Functions | List of all members
llvm::FaultMapParser Class Reference

A parser for the __llvm_faultmaps section generated by the FaultMaps class above. More...

#include "llvm/CodeGen/FaultMaps.h"

Classes

class  FunctionFaultInfoAccessor
 
class  FunctionInfoAccessor
 

Public Member Functions

 FaultMapParser (const uint8_t *Begin, const uint8_t *End)
 
FaultMapVersionType getFaultMapVersion () const
 
NumFunctionsType getNumFunctions () const
 
FunctionInfoAccessor getFirstFunctionInfo () const
 

Detailed Description

A parser for the __llvm_faultmaps section generated by the FaultMaps class above.

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.

Definition at line 83 of file FaultMaps.h.

Constructor & Destructor Documentation

◆ FaultMapParser()

llvm::FaultMapParser::FaultMapParser ( const uint8_t *  Begin,
const uint8_t *  End 
)
inlineexplicit

Definition at line 189 of file FaultMaps.h.

Member Function Documentation

◆ getFaultMapVersion()

FaultMapVersionType llvm::FaultMapParser::getFaultMapVersion ( ) const
inline

Definition at line 192 of file FaultMaps.h.

References assert(), E, and llvm::IndexedInstrProf::Version.

Referenced by llvm::operator<<().

◆ getFirstFunctionInfo()

FunctionInfoAccessor llvm::FaultMapParser::getFirstFunctionInfo ( ) const
inline

Definition at line 202 of file FaultMaps.h.

References llvm::operator<<().

Referenced by llvm::operator<<().

◆ getNumFunctions()

NumFunctionsType llvm::FaultMapParser::getNumFunctions ( ) const
inline

Definition at line 198 of file FaultMaps.h.

References E.

Referenced by llvm::operator<<().


The documentation for this class was generated from the following file: