LLVM 20.0.0git
|
#include "CodeGen/AsmPrinter/DwarfException.h"
Public Member Functions | |
ARMException (AsmPrinter *A) | |
~ARMException () override | |
void | endModule () override |
Emit all exception information that should come after the content. | |
void | beginFunction (const MachineFunction *MF) override |
Gather pre-function exception information. | |
void | endFunction (const MachineFunction *) override |
Gather and emit post-function exception information. | |
void | markFunctionEnd () override |
Public Member Functions inherited from llvm::EHStreamer | |
EHStreamer (AsmPrinter *A) | |
~EHStreamer () override | |
Public Member Functions inherited from llvm::AsmPrinterHandler | |
virtual | ~AsmPrinterHandler () |
Pin vtable to this file. | |
virtual void | beginModule (Module *M) |
virtual void | endModule ()=0 |
Emit all sections that should come after the content. | |
virtual void | beginFunction (const MachineFunction *MF)=0 |
Gather pre-function debug information. | |
virtual void | markFunctionEnd () |
virtual void | endFunction (const MachineFunction *MF)=0 |
Gather post-function debug information. | |
virtual void | beginBasicBlockSection (const MachineBasicBlock &MBB) |
Process the beginning of a new basic-block-section within a function. | |
virtual void | endBasicBlockSection (const MachineBasicBlock &MBB) |
Process the end of a basic-block-section within a function. | |
virtual void | beginFunclet (const MachineBasicBlock &MBB, MCSymbol *Sym=nullptr) |
Emit target-specific EH funclet machinery. | |
virtual void | endFunclet () |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::EHStreamer | |
static bool | callToNoUnwindFunction (const MachineInstr *MI) |
Return ‘true’ if this is a call to a function marked ‘nounwind’. | |
Protected Types inherited from llvm::EHStreamer | |
using | RangeMapType = DenseMap< MCSymbol *, PadRange > |
Protected Member Functions inherited from llvm::EHStreamer | |
void | computeActionsTable (const SmallVectorImpl< const LandingPadInfo * > &LandingPads, SmallVectorImpl< ActionEntry > &Actions, SmallVectorImpl< unsigned > &FirstActions) |
Compute the actions table and gather the first action index for each landing pad site. | |
void | computePadMap (const SmallVectorImpl< const LandingPadInfo * > &LandingPads, RangeMapType &PadMap) |
virtual void | computeCallSiteTable (SmallVectorImpl< CallSiteEntry > &CallSites, SmallVectorImpl< CallSiteRange > &CallSiteRanges, const SmallVectorImpl< const LandingPadInfo * > &LandingPads, const SmallVectorImpl< unsigned > &FirstActions) |
Compute the call-site table and the call-site ranges. | |
MCSymbol * | emitExceptionTable () |
Emit landing pads and actions. | |
virtual void | emitTypeInfos (unsigned TTypeEncoding, MCSymbol *TTBaseLabel) |
Static Protected Member Functions inherited from llvm::EHStreamer | |
static unsigned | sharedTypeIDs (const LandingPadInfo *L, const LandingPadInfo *R) |
How many leading type ids two landing pads have in common. | |
static bool | isFilterEHSelector (int Selector) |
static bool | isCleanupEHSelector (int Selector) |
static bool | isCatchEHSelector (int Selector) |
Protected Attributes inherited from llvm::EHStreamer | |
AsmPrinter * | Asm |
Target of directive emission. | |
MachineModuleInfo * | MMI |
Collected machine module information. | |
Definition at line 66 of file DwarfException.h.
ARMException::ARMException | ( | AsmPrinter * | A | ) |
Definition at line 22 of file ARMException.cpp.
|
overridedefault |
|
overridevirtual |
Gather pre-function exception information.
Assumes being emitted immediately after the function entry point.
Implements llvm::AsmPrinterHandler.
Definition at line 31 of file ARMException.cpp.
References llvm::ARM, llvm::EHStreamer::Asm, assert(), llvm::AsmPrinter::Debug, llvm::AsmPrinter::EH, llvm::ARMTargetStreamer::emitFnStart(), llvm::MCAsmInfo::getExceptionHandlingType(), llvm::AsmPrinter::getFunctionCFISectionType(), llvm::AsmPrinter::getModuleCFISectionType(), llvm::AsmPrinter::MAI, and llvm::AsmPrinter::OutStreamer.
|
overridevirtual |
Gather and emit post-function exception information.
endFunction - Gather and emit post-function exception information.
Implements llvm::AsmPrinterHandler.
Definition at line 58 of file ARMException.cpp.
References llvm::ARM, llvm::EHStreamer::Asm, llvm::classifyEHPersonality(), llvm::ARMTargetStreamer::emitCantUnwind(), llvm::EHStreamer::emitExceptionTable(), llvm::ARMTargetStreamer::emitFnEnd(), llvm::ARMTargetStreamer::emitHandlerData(), llvm::ARMTargetStreamer::emitPersonality(), F, llvm::MCAsmInfo::getExceptionHandlingType(), llvm::MachineFunction::getFunction(), llvm::MachineFunction::getLandingPads(), llvm::AsmPrinter::getSymbol(), llvm::isNoOpWithoutInvoke(), llvm::AsmPrinter::MAI, llvm::AsmPrinter::MF, and llvm::Function::needsUnwindTableEntry().
|
inlineoverridevirtual |
Emit all exception information that should come after the content.
Implements llvm::AsmPrinterHandler.
Definition at line 84 of file DwarfException.h.
|
overridevirtual |
Reimplemented from llvm::AsmPrinterHandler.
Definition at line 51 of file ARMException.cpp.
References llvm::EHStreamer::Asm, and llvm::AsmPrinter::OutStreamer.