LLVM  3.7.0
Public Member Functions | List of all members
llvm::AsmPrinterHandler Class Referenceabstract

Collects and handles AsmPrinter objects required to build debug or EH information. More...

#include <AsmPrinterHandler.h>

Inheritance diagram for llvm::AsmPrinterHandler:
[legend]

Public Member Functions

virtual ~AsmPrinterHandler ()
 Pin vtable to this file. More...
 
virtual void setSymbolSize (const MCSymbol *Sym, uint64_t Size)=0
 For symbols that have a size designated (e.g. More...
 
virtual void endModule ()=0
 Emit all sections that should come after the content. More...
 
virtual void beginFunction (const MachineFunction *MF)=0
 Gather pre-function debug information. More...
 
virtual void markFunctionEnd ()
 
virtual void endFunction (const MachineFunction *MF)=0
 Gather post-function debug information. More...
 
virtual void beginInstruction (const MachineInstr *MI)=0
 Process beginning of an instruction. More...
 
virtual void endInstruction ()=0
 Process end of an instruction. More...
 

Detailed Description

Collects and handles AsmPrinter objects required to build debug or EH information.

Definition at line 28 of file AsmPrinterHandler.h.

Constructor & Destructor Documentation

AsmPrinterHandler::~AsmPrinterHandler ( )
virtual

Pin vtable to this file.

Definition at line 2511 of file AsmPrinter.cpp.

Member Function Documentation

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::ARMException, llvm::WinException, and llvm::DwarfCFIException.

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::ARMException, llvm::WinException, and llvm::DwarfCFIException.

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::ARMException, llvm::WinException, and llvm::DwarfCFIException.

void AsmPrinterHandler::markFunctionEnd ( )
virtual

Reimplemented in llvm::DwarfCFIExceptionBase.

Definition at line 2513 of file AsmPrinter.cpp.

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.


The documentation for this class was generated from the following files: