LLVM 22.0.0git
|
PDBContext This data structure is the top level entity that deals with PDB debug information parsing. More...
#include "llvm/DebugInfo/PDB/PDBContext.h"
Static Public Member Functions | |
static bool | classof (const DIContext *DICtx) |
Additional Inherited Members | |
Public Types inherited from llvm::DIContext | |
enum | DIContextKind { CK_DWARF , CK_PDB , CK_BTF , CK_GSYM } |
PDBContext This data structure is the top level entity that deals with PDB debug information parsing.
This data structure exists only when there is a need for a transparent interface to different debug information formats (e.g. PDB and DWARF). More control and power over the debug information access can be had by using the PDB interfaces directly.
Definition at line 32 of file PDBContext.h.
PDBContext::PDBContext | ( | const object::COFFObjectFile & | Object, |
std::unique_ptr< IPDBSession > | PDBSession ) |
Definition at line 25 of file PDBContext.cpp.
References llvm::DIContext::CK_PDB, llvm::DIContext::DIContext(), llvm::ErrorOr< T >::get(), and llvm::move().
Referenced by operator=(), and PDBContext().
|
delete |
References PDBContext().
Definition at line 39 of file PDBContext.h.
References llvm::DIContext::CK_PDB, llvm::DIContext::DIContext(), and llvm::DIContext::getKind().
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 33 of file PDBContext.cpp.
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 97 of file PDBContext.cpp.
References llvm::pdb::Address, assert(), llvm::pdb::Function, llvm::DILineInfo::FunctionName, getLineInfoForAddress(), InlineInfo, llvm::Length, llvm::pdb::LineNumbers, and llvm::DILineInfoSpecifier::None.
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 36 of file PDBContext.cpp.
References llvm::pdb::Address, assert(), llvm::pdb::Data, llvm::dyn_cast_or_null(), llvm::Length, llvm::pdb::LineNumbers, llvm::DILineInfoSpecifier::None, and llvm::pdb::None.
Referenced by getInliningInfoForAddress(), and getLineInfoForAddressRange().
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 76 of file PDBContext.cpp.
References llvm::pdb::Address, getLineInfoForAddress(), llvm::pdb::LineNumbers, llvm::SmallVectorTemplateBase< T, bool >::push_back(), and Size.
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 69 of file PDBContext.cpp.
References llvm::pdb::Address.
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 142 of file PDBContext.cpp.
References llvm::pdb::Address.
|
delete |
References PDBContext().