LLVM API Documentation
#include <DwarfException.h>
Public Member Functions | |
DwarfCFIException (AsmPrinter *A) | |
virtual | ~DwarfCFIException () |
void | endModule () override |
void | beginFunction (const MachineFunction *MF) override |
void | endFunction (const MachineFunction *) override |
endFunction - Gather and emit post-function exception information. |
Definition at line 24 of file DwarfException.h.
Definition at line 42 of file DwarfCFIException.cpp.
DwarfCFIException::~DwarfCFIException | ( | ) | [virtual] |
Definition at line 46 of file DwarfCFIException.cpp.
void DwarfCFIException::beginFunction | ( | const MachineFunction * | MF | ) | [override, 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::EHStreamer.
Definition at line 76 of file DwarfCFIException.cpp.
References llvm::EHStreamer::Asm, llvm::AsmPrinter::CFI_M_Debug, llvm::AsmPrinter::CFI_M_EH, llvm::AsmPrinter::CFI_M_None, llvm::MCSymbolRefExpr::Create(), llvm::MCContext::CreateTempSymbol(), llvm::dwarf::DW_EH_PE_omit, llvm::MCStreamer::EmitAssignment(), llvm::MCStreamer::EmitCFILsda(), llvm::MCStreamer::EmitCFIPersonality(), llvm::MCStreamer::EmitCFIStartProc(), llvm::MCStreamer::EmitLabel(), 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::MAI, llvm::AsmPrinter::Mang, llvm::EHStreamer::MMI, llvm::AsmPrinter::needsCFIMoves(), llvm::AsmPrinter::OutContext, llvm::AsmPrinter::OutStreamer, llvm::AsmPrinter::TM, and llvm::MCAsmInfo::useAssignmentForEHBegin().
void DwarfCFIException::endFunction | ( | const MachineFunction * | ) | [override, virtual] |
endFunction - Gather and emit post-function exception information.
Reimplemented from llvm::EHStreamer.
Definition at line 138 of file DwarfCFIException.cpp.
References llvm::EHStreamer::Asm, llvm::MCStreamer::EmitCFIEndProc(), llvm::EHStreamer::emitExceptionTable(), llvm::MCStreamer::EmitLabel(), llvm::AsmPrinter::getFunctionNumber(), llvm::AsmPrinter::GetTempSymbol(), llvm::EHStreamer::MMI, llvm::AsmPrinter::OutStreamer, and llvm::MachineModuleInfo::TidyLandingPads().
void DwarfCFIException::endModule | ( | ) | [override, virtual] |
endModule - Emit all exception information that should come after the content.
Reimplemented from llvm::EHStreamer.
Definition at line 50 of file DwarfCFIException.cpp.
References llvm::EHStreamer::Asm, llvm::AsmPrinter::CFI_M_Debug, llvm::dwarf::DW_EH_PE_indirect, llvm::MCStreamer::EmitCFISections(), llvm::TargetLoweringObjectFile::emitPersonalityValue(), llvm::AsmPrinter::getObjFileLowering(), llvm::MachineModuleInfo::getPersonalities(), llvm::MCObjectFileInfo::getPersonalityEncoding(), llvm::AsmPrinter::getSymbol(), llvm::MCAsmInfo::isExceptionHandlingDwarf(), llvm::AsmPrinter::MAI, llvm::EHStreamer::MMI, llvm::AsmPrinter::OutStreamer, and llvm::AsmPrinter::TM.