LLVM API Documentation
#include <DwarfException.h>
Public Member Functions | |
DwarfCFIException (AsmPrinter *A) | |
virtual | ~DwarfCFIException () |
virtual void | EndModule () |
virtual void | BeginFunction (const MachineFunction *MF) |
virtual void | EndFunction () |
EndFunction - Gather and emit post-function exception information. More... | |
![]() | |
DwarfException (AsmPrinter *A) | |
virtual | ~DwarfException () |
Additional Inherited Members | |
![]() | |
typedef DenseMap< MCSymbol *, PadRange > | RangeMapType |
![]() | |
unsigned | ComputeActionsTable (const SmallVectorImpl< const LandingPadInfo * > &LPs, SmallVectorImpl< ActionEntry > &Actions, SmallVectorImpl< unsigned > &FirstActions) |
bool | CallToNoUnwindFunction (const MachineInstr *MI) |
void | ComputeCallSiteTable (SmallVectorImpl< CallSiteEntry > &CallSites, const RangeMapType &PadMap, const SmallVectorImpl< const LandingPadInfo * > &LPs, const SmallVectorImpl< unsigned > &FirstActions) |
void | EmitExceptionTable () |
virtual void | EmitTypeInfos (unsigned TTypeEncoding) |
![]() | |
static unsigned | SharedTypeIds (const LandingPadInfo *L, const LandingPadInfo *R) |
SharedTypeIds - How many leading type ids two landing pads have in common. More... | |
static bool | PadLT (const LandingPadInfo *L, const LandingPadInfo *R) |
PadLT - Order landing pads lexicographically by type id. More... | |
![]() | |
AsmPrinter * | Asm |
Asm - Target of Dwarf emission. More... | |
MachineModuleInfo * | MMI |
MMI - Collected machine module information. More... | |
Definition at line 145 of file DwarfException.h.
DwarfCFIException::DwarfCFIException | ( | AsmPrinter * | A | ) |
Definition at line 42 of file DwarfCFIException.cpp.
|
virtual |
Definition at line 47 of file DwarfCFIException.cpp.
|
virtual |
BeginFunction - Gather pre-function exception information. Assumes being emitted immediately after the function entry point.
BeginFunction - Gather pre-function exception information. Assumes it's being emitted immediately after the function entry point.
Reimplemented from llvm::DwarfException.
Definition at line 87 of file DwarfCFIException.cpp.
References llvm::DwarfException::Asm, llvm::AsmPrinter::CFI_M_Debug, llvm::AsmPrinter::CFI_M_EH, llvm::AsmPrinter::CFI_M_None, llvm::dwarf::DW_EH_PE_omit, llvm::MCStreamer::EmitCFILsda(), llvm::MCStreamer::EmitCFIPersonality(), llvm::MCStreamer::EmitCFIStartProc(), llvm::MCStreamer::EmitDebugLabel(), llvm::TargetLoweringObjectFile::getCFIPersonalitySymbol(), llvm::AsmPrinter::getFunctionNumber(), llvm::MachineModuleInfo::getLandingPads(), llvm::MCObjectFileInfo::getLSDAEncoding(), llvm::AsmPrinter::getObjFileLowering(), llvm::MachineModuleInfo::getPersonalities(), llvm::MCObjectFileInfo::getPersonalityEncoding(), llvm::MachineModuleInfo::getPersonalityIndex(), llvm::AsmPrinter::GetTempSymbol(), llvm::AsmPrinter::Mang, llvm::DwarfException::MMI, llvm::AsmPrinter::needsCFIMoves(), and llvm::AsmPrinter::OutStreamer.
|
virtual |
EndFunction - Gather and emit post-function exception information.
EndFunction - Gather and emit post-function exception information.
Reimplemented from llvm::DwarfException.
Definition at line 140 of file DwarfCFIException.cpp.
References llvm::DwarfException::Asm, llvm::MCStreamer::EmitCFIEndProc(), llvm::DwarfException::EmitExceptionTable(), llvm::MCStreamer::EmitLabel(), llvm::AsmPrinter::getFunctionNumber(), llvm::AsmPrinter::GetTempSymbol(), llvm::DwarfException::MMI, llvm::AsmPrinter::OutStreamer, and llvm::MachineModuleInfo::TidyLandingPads().
|
virtual |
EndModule - Emit all exception information that should come after the content.
Reimplemented from llvm::DwarfException.
Definition at line 51 of file DwarfCFIException.cpp.
References llvm::DwarfException::Asm, llvm::AsmPrinter::CFI_M_Debug, llvm::dwarf::DW_EH_PE_pcrel, llvm::MCStreamer::EmitCFISections(), llvm::TargetLoweringObjectFile::emitPersonalityValue(), llvm::AsmPrinter::getObjFileLowering(), llvm::MachineModuleInfo::getPersonalities(), llvm::MCObjectFileInfo::getPersonalityEncoding(), llvm::AsmPrinter::getSymbol(), llvm::MCAsmInfo::isExceptionHandlingDwarf(), llvm::MCObjectFileInfo::isFunctionEHFrameSymbolPrivate(), llvm::AsmPrinter::MAI, llvm::DwarfException::MMI, llvm::AsmPrinter::OutStreamer, llvm::MCStreamer::SwitchSection(), and llvm::AsmPrinter::TM.