#include "llvm/CodeGen/FaultMaps.h"
#include "llvm/ADT/Twine.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCObjectFileInfo.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
usingnamespacellvm;
#define DEBUG_TYPE …
static const int FaultMapVersion = …;
const char *FaultMaps::WFMP = …;
FaultMaps::FaultMaps(AsmPrinter &AP) : … { … }
void FaultMaps::recordFaultingOp(FaultKind FaultTy,
const MCSymbol *FaultingLabel,
const MCSymbol *HandlerLabel) { … }
void FaultMaps::serializeToFaultMapSection() { … }
void FaultMaps::emitFunctionInfo(const MCSymbol *FnLabel,
const FunctionFaultInfos &FFI) { … }
const char *FaultMaps::faultTypeToString(FaultMaps::FaultKind FT) { … }