class AsmPrinterHandler

Declaration

class AsmPrinterHandler { /* full declaration omitted */ };

Description

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

Declared at: llvm/include/llvm/CodeGen/AsmPrinterHandler.h:33

Method Overview

Methods

virtual void beginBasicBlock(
    const llvm::MachineBasicBlock& MBB)

Description

Process beginning of a basic block during basic block sections.

Declared at: llvm/include/llvm/CodeGen/AsmPrinterHandler.h:76

Parameters

const llvm::MachineBasicBlock& MBB

virtual void beginFragment(
    const llvm::MachineBasicBlock* MBB,
    llvm::ExceptionSymbolProvider* ESP)

Declared at: llvm/include/llvm/CodeGen/AsmPrinterHandler.h:60

Parameters

const llvm::MachineBasicBlock* MBB
llvm::ExceptionSymbolProvider* ESP

virtual void beginFunclet(
    const llvm::MachineBasicBlock& MBB,
    llvm::MCSymbol* Sym = nullptr)

Description

Emit target-specific EH funclet machinery.

Declared at: llvm/include/llvm/CodeGen/AsmPrinterHandler.h:65

Parameters

const llvm::MachineBasicBlock& MBB
llvm::MCSymbol* Sym = nullptr

virtual void beginFunction(
    const llvm::MachineFunction* MF)

Description

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

Declared at: llvm/include/llvm/CodeGen/AsmPrinterHandler.h:49

Parameters

const llvm::MachineFunction* MF

virtual void beginInstruction(
    const llvm::MachineInstr* MI)

Description

Process beginning of an instruction.

Declared at: llvm/include/llvm/CodeGen/AsmPrinterHandler.h:70

Parameters

const llvm::MachineInstr* MI

virtual void beginModule(llvm::Module* M)

Declared at: llvm/include/llvm/CodeGen/AsmPrinterHandler.h:41

Parameters

llvm::Module* M

virtual void endBasicBlock(
    const llvm::MachineBasicBlock& MBB)

Description

Process end of a basic block during basic block sections.

Declared at: llvm/include/llvm/CodeGen/AsmPrinterHandler.h:79

Parameters

const llvm::MachineBasicBlock& MBB

virtual void endFragment()

Declared at: llvm/include/llvm/CodeGen/AsmPrinterHandler.h:62

virtual void endFunclet()

Declared at: llvm/include/llvm/CodeGen/AsmPrinterHandler.h:67

virtual void endFunction(
    const llvm::MachineFunction* MF)

Description

Gather post-function debug information. Please note that some AsmPrinter implementations may not call beginFunction at all.

Declared at: llvm/include/llvm/CodeGen/AsmPrinterHandler.h:58

Parameters

const llvm::MachineFunction* MF

virtual void endInstruction()

Description

Process end of an instruction.

Declared at: llvm/include/llvm/CodeGen/AsmPrinterHandler.h:73

virtual void endModule()

Description

Emit all sections that should come after the content.

Declared at: llvm/include/llvm/CodeGen/AsmPrinterHandler.h:44

virtual void markFunctionEnd()

Declared at: llvm/include/llvm/CodeGen/AsmPrinterHandler.h:53

virtual void setSymbolSize(
    const llvm::MCSymbol* Sym,
    uint64_t Size)

Description

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

Declared at: llvm/include/llvm/CodeGen/AsmPrinterHandler.h:39

Parameters

const llvm::MCSymbol* Sym
uint64_t Size

virtual ~AsmPrinterHandler()

Declared at: llvm/include/llvm/CodeGen/AsmPrinterHandler.h:35