LLVM API Documentation
Collects and handles AsmPrinter objects required to build debug or EH information. More...
#include <AsmPrinterHandler.h>
Public Member Functions | |
virtual | ~AsmPrinterHandler () |
Pin vtable to this file. | |
virtual void | setSymbolSize (const MCSymbol *Sym, uint64_t Size)=0 |
For symbols that have a size designated (e.g. common symbols), this tracks that size. | |
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. Every beginFunction(MF) call should be followed by an endFunction(MF) call. | |
virtual void | endFunction (const MachineFunction *MF)=0 |
Gather post-function debug information. Please note that some AsmPrinter implementations may not call beginFunction at all. | |
virtual void | beginInstruction (const MachineInstr *MI)=0 |
Process beginning of an instruction. | |
virtual void | endInstruction ()=0 |
Process end of an instruction. |
Collects and handles AsmPrinter objects required to build debug or EH information.
Definition at line 28 of file AsmPrinterHandler.h.
AsmPrinterHandler::~AsmPrinterHandler | ( | ) | [virtual] |
Pin vtable to this file.
Definition at line 2314 of file AsmPrinter.cpp.
virtual void llvm::AsmPrinterHandler::beginFunction | ( | const MachineFunction * | MF | ) | [pure virtual] |
Gather pre-function debug information. Every beginFunction(MF) call should be followed by an endFunction(MF) call.
Implemented in llvm::DwarfDebug, llvm::WinCodeViewLineTables, llvm::EHStreamer, llvm::ARMException, llvm::DwarfCFIException, and llvm::Win64Exception.
virtual void llvm::AsmPrinterHandler::beginInstruction | ( | const MachineInstr * | MI | ) | [pure virtual] |
Process beginning of an instruction.
Implemented in llvm::DwarfDebug, llvm::WinCodeViewLineTables, and llvm::EHStreamer.
virtual void llvm::AsmPrinterHandler::endFunction | ( | const MachineFunction * | MF | ) | [pure virtual] |
Gather post-function debug information. Please note that some AsmPrinter implementations may not call beginFunction at all.
Implemented in llvm::DwarfDebug, llvm::WinCodeViewLineTables, llvm::EHStreamer, llvm::ARMException, llvm::DwarfCFIException, and llvm::Win64Exception.
virtual void llvm::AsmPrinterHandler::endInstruction | ( | ) | [pure virtual] |
Process end of an instruction.
Implemented in llvm::DwarfDebug, llvm::WinCodeViewLineTables, and llvm::EHStreamer.
virtual void llvm::AsmPrinterHandler::endModule | ( | ) | [pure virtual] |
Emit all sections that should come after the content.
Implemented in llvm::DwarfDebug, llvm::WinCodeViewLineTables, llvm::EHStreamer, llvm::ARMException, llvm::DwarfCFIException, and llvm::Win64Exception.
virtual void llvm::AsmPrinterHandler::setSymbolSize | ( | const MCSymbol * | Sym, |
uint64_t | Size | ||
) | [pure virtual] |
For symbols that have a size designated (e.g. common symbols), this tracks that size.
Implemented in llvm::DwarfDebug, llvm::EHStreamer, and llvm::WinCodeViewLineTables.