LLVM
8.0.1
|
Collects and handles AsmPrinter objects required to build debug or EH information. More...
#include "llvm/CodeGen/AsmPrinterHandler.h"
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 | beginFragment (const MachineBasicBlock *MBB, ExceptionSymbolProvider ESP) |
virtual void | endFragment () |
virtual void | beginFunclet (const MachineBasicBlock &MBB, MCSymbol *Sym=nullptr) |
Emit target-specific EH funclet machinery. More... | |
virtual void | endFunclet () |
virtual void | beginInstruction (const MachineInstr *MI)=0 |
Process beginning of an instruction. More... | |
virtual void | endInstruction ()=0 |
Process end of an instruction. More... | |
Collects and handles AsmPrinter objects required to build debug or EH information.
Definition at line 32 of file AsmPrinterHandler.h.
|
virtualdefault |
Pin vtable to this file.
Referenced by llvm::AsmPrinter::emitStackMaps().
|
inlinevirtual |
Reimplemented in llvm::DwarfCFIException.
Definition at line 57 of file AsmPrinterHandler.h.
|
inlinevirtual |
Emit target-specific EH funclet machinery.
Reimplemented in llvm::WinException.
Definition at line 62 of file AsmPrinterHandler.h.
|
pure virtual |
Gather pre-function debug information.
Every beginFunction(MF) call should be followed by an endFunction(MF) call.
Implemented in llvm::DebugHandlerBase, llvm::WinException, llvm::ARMException, llvm::DwarfCFIException, llvm::WinCFGuard, and llvm::WasmException.
|
pure virtual |
Process beginning of an instruction.
Implemented in llvm::DwarfDebug, llvm::CodeViewDebug, llvm::BTFDebug, llvm::EHStreamer, llvm::DebugHandlerBase, and llvm::WinCFGuard.
Referenced by endFunclet().
|
inlinevirtual |
Reimplemented in llvm::DwarfCFIExceptionBase.
Definition at line 59 of file AsmPrinterHandler.h.
|
inlinevirtual |
Reimplemented in llvm::WinException.
Definition at line 64 of file AsmPrinterHandler.h.
References beginInstruction(), endInstruction(), and MI.
|
pure virtual |
Gather post-function debug information.
Please note that some AsmPrinter implementations may not call beginFunction at all.
Implemented in llvm::DebugHandlerBase, llvm::WinException, llvm::ARMException, llvm::DwarfCFIException, llvm::WinCFGuard, and llvm::WasmException.
|
pure virtual |
Process end of an instruction.
Implemented in llvm::EHStreamer, llvm::DebugHandlerBase, and llvm::WinCFGuard.
Referenced by endFunclet().
|
pure virtual |
Emit all sections that should come after the content.
Implemented in llvm::DwarfDebug, llvm::CodeViewDebug, llvm::BTFDebug, llvm::WinException, llvm::ARMException, llvm::DwarfCFIException, llvm::WinCFGuard, and llvm::WasmException.
|
virtual |
Reimplemented in llvm::DwarfCFIExceptionBase, and llvm::WasmException.
Definition at line 3050 of file AsmPrinter.cpp.
|
pure virtual |
For symbols that have a size designated (e.g.
common symbols), this tracks that size.
Implemented in llvm::DwarfDebug, llvm::CodeViewDebug, llvm::BTFDebug, llvm::EHStreamer, and llvm::WinCFGuard.