LLVM 20.0.0git
|
Collects and handles AsmPrinter objects required to build debug or EH information. More...
#include "llvm/CodeGen/AsmPrinterHandler.h"
Public Member Functions | |
virtual | ~AsmPrinterHandler () |
Pin vtables 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 | setSymbolSize (const MCSymbol *Sym, uint64_t Size) |
For symbols that have a size designated (e.g. | |
virtual void | beginInstruction (const MachineInstr *MI) |
Process beginning of an instruction. | |
virtual void | endInstruction () |
Process end of an instruction. | |
virtual void | beginCodeAlignment (const MachineBasicBlock &MBB) |
virtual void | beginFunclet (const MachineBasicBlock &MBB, MCSymbol *Sym=nullptr) |
Emit target-specific EH funclet machinery. | |
virtual void | endFunclet () |
Collects and handles AsmPrinter objects required to build debug or EH information.
Definition at line 33 of file AsmPrinterHandler.h.
|
virtualdefault |
Pin vtables to this file.
|
inlinevirtual |
Process the beginning of a new basic-block-section within a function.
Always called immediately after beginFunction for the first basic-block. When basic-block-sections are enabled, called before the first block of each such section.
Reimplemented in llvm::DebugHandlerBase, and llvm::DwarfCFIException.
Definition at line 58 of file AsmPrinterHandler.h.
|
inlinevirtual |
Reimplemented in llvm::DwarfDebug.
Definition at line 77 of file AsmPrinterHandler.h.
|
inlinevirtual |
Emit target-specific EH funclet machinery.
Reimplemented in llvm::WinException.
Definition at line 80 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::DwarfCFIException, llvm::ARMException, llvm::AIXException, llvm::WasmException, llvm::WinCFGuard, and llvm::WinException.
|
inlinevirtual |
Process beginning of an instruction.
Reimplemented in llvm::DebugHandlerBase, llvm::CodeViewDebug, llvm::DwarfDebug, and llvm::BTFDebug.
Definition at line 72 of file AsmPrinterHandler.h.
|
inlinevirtual |
Reimplemented in llvm::DebugHandlerBase, llvm::CodeViewDebug, and llvm::DwarfDebug.
Definition at line 37 of file AsmPrinterHandler.h.
|
inlinevirtual |
Process the end of a basic-block-section within a function.
When basic-block-sections are enabled, called after the last block in each such section (including the last section in the function). When basic-block-sections are disabled, called at the end of a function, immediately prior to markFunctionEnd.
Reimplemented in llvm::DebugHandlerBase, and llvm::DwarfCFIException.
Definition at line 65 of file AsmPrinterHandler.h.
|
inlinevirtual |
Reimplemented in llvm::WinException.
Definition at line 82 of file AsmPrinterHandler.h.
|
pure virtual |
Gather post-function debug information.
Implemented in llvm::DwarfCFIException, llvm::ARMException, llvm::WinException, llvm::DebugHandlerBase, llvm::AIXException, llvm::WasmException, and llvm::WinCFGuard.
|
inlinevirtual |
Process end of an instruction.
Reimplemented in llvm::DebugHandlerBase.
Definition at line 75 of file AsmPrinterHandler.h.
|
pure virtual |
Emit all sections that should come after the content.
Implemented in llvm::CodeViewDebug, llvm::DwarfDebug, llvm::DwarfCFIException, llvm::ARMException, llvm::AIXException, llvm::WasmException, llvm::WinCFGuard, llvm::WinException, and llvm::BTFDebug.
|
virtual |
Reimplemented in llvm::ARMException, and llvm::WinException.
Definition at line 4426 of file AsmPrinter.cpp.
|
inlinevirtual |
For symbols that have a size designated (e.g.
common symbols), this tracks that size.
Reimplemented in llvm::DwarfDebug.
Definition at line 69 of file AsmPrinterHandler.h.