Base class for debug information backends. Common functionality related to tracking which variables and scopes are alive at a given PC live here.
Synopsis
Declared in <llvm/CodeGen/DebugHandlerBase.h>
class DebugHandlerBase
: public AsmPrinterHandler
Base Classes
Name |
Description |
Collects and handles AsmPrinter objects required to build debug or EH information. |
Member Functions
Name |
Description |
|
Destroy this debug handler. |
|
Process the beginning of a new basic‐block‐section within a function. |
|
Process the beginning of code alignment for a basic block. |
|
Emit target‐specific EH funclet machinery. |
|
Gather pre‐function debug information. |
|
Process beginning of an instruction. |
|
Process the beginning of a module. |
|
Process the end of a basic‐block‐section within a function. |
|
Process the end of an EH funclet. |
|
Gather post‐function debug information. |
|
Process end of an instruction. |
|
Emit all sections that should come after the content. |
Return the instruction ordering for the current function. |
|
Return Label immediately following the instruction. |
|
Return Label preceding the instruction. |
|
Return the lexical scopes for the current function. |
|
|
Emit any function end marker (like .cfi_endproc). |
|
For symbols that have a size designated (e.g. common symbols), this tracks that size. |
Static Member Functions
Name |
Description |
If this type is derived from a base type then return base type size. |
|
Return true if type encoding is unsigned. |
Protected Member Functions
Name |
Description |
|
Construct a debug handler bound to the given AsmPrinter. |
|
Gather pre‐function debug information for a concrete backend. |
|
Gather post‐function debug information for a concrete backend. |
Indentify instructions that are marking the beginning of or ending of a scope. |
|
Ensure that a label will be emitted after MI. |
|
Ensure that a label will be emitted before MI. |
|
|
Called when a function has no debug information to emit. |
Protected Data Members
Name |
Description |
Target of debug info emission. |
|
If nonnull, stores the current machine instruction we're processing. |
|
Mapping of inlined labels and DBG_LABEL machine instruction. |
|
History of DBG_VALUE and clobber instructions for each user variable. Variables are listed in order of appearance. |
|
This block includes epilogue instructions. |
|
Lexical scopes for the current function. |
|
Maps instruction with label emitted after instruction. |
|
Maps instruction with label emitted before instruction. FIXME: Make this private from DwarfDebug, we have the necessary accessors for it. |
|
Collected machine module information. |
|
Basic block that contained the previous instruction. |
|
Previous instruction's source location. |
|
Label associated with the previous instruction, if any. |
|
This location indicates end of function prologue and beginning of function body. |
Created with MrDocs