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

Synopsis

Declared in <llvm/CodeGen/AsmPrinterHandler.h>

class AsmPrinterHandler;

Member Functions

Name

Description

~AsmPrinterHandler [destructor] [virtual]

Destructor

beginBasicBlockSection [virtual]

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.

beginCodeAlignment [virtual]

beginFunclet [virtual]

Emit target‐specific EH funclet machinery.

beginFunction [virtual]

Gather pre‐function debug information. Every beginFunction(MF) call should be followed by an endFunction(MF) call.

beginInstruction [virtual]

Process beginning of an instruction.

beginModule [virtual]

endBasicBlockSection [virtual]

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.

endFunclet [virtual]

endFunction [virtual]

Gather post‐function debug information.

endInstruction [virtual]

Process end of an instruction.

endModule [virtual]

Emit all sections that should come after the content.

markFunctionEnd [virtual]

setSymbolSize [virtual]

For symbols that have a size designated (e.g. common symbols), this tracks that size.

Derived Classes

Name

Description

DebugHandlerBase

Base class for debug information backends. Common functionality related to tracking which variables and scopes are alive at a given PC live here.

Created with MrDocs