|
LLVM 24.0.0git
|
#include "llvm/CodeGen/FaultMaps.h"
Public Types | |
| enum | FaultKind { FaultingLoad = 1 , FaultingLoadStore , FaultingStore , FaultKindMax } |
Public Member Functions | |
| LLVM_ABI | FaultMaps (AsmPrinter &AP) |
| LLVM_ABI void | recordFaultingOp (FaultKind FaultTy, const MCSymbol *FaultingLabel, const MCSymbol *HandlerLabel) |
| LLVM_ABI void | serializeToFaultMapSection () |
| void | reset () |
Definition at line 21 of file FaultMaps.h.
| Enumerator | |
|---|---|
| FaultingLoad | |
| FaultingLoadStore | |
| FaultingStore | |
| FaultKindMax | |
Definition at line 23 of file FaultMaps.h.
|
explicit |
Definition at line 25 of file FaultMaps.cpp.
| void FaultMaps::recordFaultingOp | ( | FaultKind | FaultTy, |
| const MCSymbol * | FaultingLabel, | ||
| const MCSymbol * | HandlerLabel ) |
Definition at line 27 of file FaultMaps.cpp.
References llvm::MCSymbolRefExpr::create(), and llvm::MCBinaryExpr::createSub().
|
inline |
Definition at line 36 of file FaultMaps.h.
| void FaultMaps::serializeToFaultMapSection | ( | ) |
Definition at line 44 of file FaultMaps.cpp.
References llvm::dbgs(), llvm::MCStreamer::emitInt16(), llvm::MCStreamer::emitInt32(), llvm::MCStreamer::emitIntValue(), llvm::MCStreamer::emitLabel(), FaultMapVersion, llvm::MCObjectFileInfo::getFaultMapSection(), llvm::MCContext::getObjectFileInfo(), llvm::MCContext::getOrCreateSymbol(), LLVM_DEBUG, and llvm::MCStreamer::switchSection().