LLVM 20.0.0git
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::FaultMaps Class Reference

#include "llvm/CodeGen/FaultMaps.h"

Public Types

enum  FaultKind { FaultingLoad = 1 , FaultingLoadStore , FaultingStore , FaultKindMax }
 

Public Member Functions

 FaultMaps (AsmPrinter &AP)
 
void recordFaultingOp (FaultKind FaultTy, const MCSymbol *FaultingLabel, const MCSymbol *HandlerLabel)
 
void serializeToFaultMapSection ()
 
void reset ()
 

Static Public Member Functions

static const charfaultTypeToString (FaultKind)
 

Detailed Description

Definition at line 21 of file FaultMaps.h.

Member Enumeration Documentation

◆ FaultKind

Enumerator
FaultingLoad 
FaultingLoadStore 
FaultingStore 
FaultKindMax 

Definition at line 23 of file FaultMaps.h.

Constructor & Destructor Documentation

◆ FaultMaps()

FaultMaps::FaultMaps ( AsmPrinter AP)
explicit

Definition at line 26 of file FaultMaps.cpp.

Member Function Documentation

◆ faultTypeToString()

const char * FaultMaps::faultTypeToString ( FaultMaps::FaultKind  FT)
static

Definition at line 103 of file FaultMaps.cpp.

References FaultingLoad, FaultingLoadStore, FaultingStore, and llvm_unreachable.

◆ recordFaultingOp()

void FaultMaps::recordFaultingOp ( FaultKind  FaultTy,
const MCSymbol FaultingLabel,
const MCSymbol HandlerLabel 
)

◆ reset()

void llvm::FaultMaps::reset ( )
inline

Definition at line 37 of file FaultMaps.h.

Referenced by llvm::X86AsmPrinter::doInitialization().

◆ serializeToFaultMapSection()

void FaultMaps::serializeToFaultMapSection ( )

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