llvm::DIContext

Abstract interface for querying and dumping debug information.

Synopsis

Declared in <llvm/DebugInfo/DIContext.h>

class DIContext;

Enums

NameDescription
DIContextKind Concrete debug-info backend implemented by this context.

Member Functions

NameDescription
DIContext [constructor]Construct a context of kind K.
~DIContext [destructor] [virtual]Virtual destructor.
dump [virtual]Dump debug information from this context to OS using DumpOpts.
getInliningInfoForAddress [virtual]Return the inlining stack for the instruction at Address.
getKind Return the concrete debug-info backend kind of this context.
getLineInfoForAddress [virtual]Look up source line info for the instruction at Address.
getLineInfoForAddressRange [virtual]Return line info for each instruction address in [Address, Address+Size).]
getLineInfoForDataAddress [virtual]Look up source line info for a data (variable) address.
getLocalsForAddress [virtual]Return local variables whose live ranges cover Address.
verify [virtual]Verify debug information, writing diagnostics to OS; return true on success.

Derived Classes

NameDescription
BTFContext DIContext that answers queries from BPF Type Format (BTF) debug info.
DWARFContext DWARFContext This data structure is the top level entity that deals with dwarf debug information parsing. The actual data is supplied through DWARFObj.
GsymContext DIContext that answers symbolication queries from GSYM debug info.
PDBContext DIContext implementation that answers queries from PDB debug information.