class CodeViewDebug

Declaration

class CodeViewDebug : public DebugHandlerBase { /* full declaration omitted */ };

Description

Collects and handles line tables information in a CodeView format.

Declared at: llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h:52

Inherits from: DebugHandlerBase

Member Variables

Inherited from DebugHandlerBase:

protected Asm
protected MMI
protected PrevInstLoc
protected PrevLabel = nullptr
protected PrevInstBB = nullptr
protected PrologEndLoc
protected CurMI = nullptr
protected LScopes
protected DbgValues
protected DbgLabels
protected LabelsBeforeInsn
protected LabelsAfterInsn

Method Overview

Inherited from DebugHandlerBase:

Inherited from AsmPrinterHandler:

Methods

CodeViewDebug(llvm::AsmPrinter* AP)

Declared at: llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h:456

Parameters

llvm::AsmPrinter* AP

void beginFunctionImpl(
    const llvm::MachineFunction* MF)

Description

Gather pre-function debug information.

Declared at: llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h:450

Parameters

const llvm::MachineFunction* MF

void beginInstruction(
    const llvm::MachineInstr* MI)

Description

Process beginning of an instruction.

Declared at: llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h:464

Parameters

const llvm::MachineInstr* MI

void endFunctionImpl(const llvm::MachineFunction*)

Description

Gather post-function debug information.

Declared at: llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h:453

Parameters

const llvm::MachineFunction*

void endModule()

Description

Emit the COFF section that holds the line table information.

Declared at: llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h:461

void setSymbolSize(const llvm::MCSymbol*,
                   uint64_t)

Description

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

Declared at: llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h:458

Parameters

const llvm::MCSymbol*
uint64_t