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
- public CodeViewDebug(llvm::AsmPrinter * AP)
- protected void beginFunctionImpl(const llvm::MachineFunction * MF)
- public void beginInstruction(const llvm::MachineInstr * MI)
- protected void endFunctionImpl(const llvm::MachineFunction *)
- public void endModule()
- public void setSymbolSize(const llvm::MCSymbol *, uint64_t)
Inherited from DebugHandlerBase:
- public beginFunction
- protected beginFunctionImpl
- public beginInstruction
- public endFunction
- protected endFunctionImpl
- public endInstruction
- public getBaseTypeSize
- public getFunctionLocalOffsetAfterInsn
- public getLabelAfterInsn
- public getLabelBeforeInsn
- protected identifyScopeMarkers
- protected requestLabelAfterInsn
- protected requestLabelBeforeInsn
- protected skippedNonDebugFunction
Inherited from AsmPrinterHandler:
- public beginFragment
- public beginFunclet
- public beginFunction
- public beginInstruction
- public endFragment
- public endFunclet
- public endFunction
- public endInstruction
- public endModule
- public markFunctionEnd
- public setSymbolSize
Methods
¶CodeViewDebug(llvm::AsmPrinter* AP)
CodeViewDebug(llvm::AsmPrinter* AP)
Declared at: llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h:456
Parameters
- llvm::AsmPrinter* AP
¶void beginFunctionImpl(
const llvm::MachineFunction* MF)
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)
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*)
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()
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)
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