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:31

Method Overview

Methods

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

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

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:61

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:45

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:66

Parameters

const llvm::MachineInstr* MI

virtual void endFragment()

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

virtual void endFunclet()

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

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:54

Parameters

const llvm::MachineFunction* MF

virtual void endInstruction()

Description

Process end of an instruction.

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

virtual void endModule()

Description

Emit all sections that should come after the content.

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

virtual void markFunctionEnd()

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

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:37

Parameters

const llvm::MCSymbol* Sym
uint64_t Size

virtual ~AsmPrinterHandler()

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