LLVM  3.7.0
Public Member Functions | Static Public Member Functions | List of all members
llvm::PDBContext Class Reference

PDBContext This data structure is the top level entity that deals with PDB debug information parsing. More...

#include <PDBContext.h>

Inheritance diagram for llvm::PDBContext:
[legend]
Collaboration diagram for llvm::PDBContext:
[legend]

Public Member Functions

 PDBContext (const object::COFFObjectFile &Object, std::unique_ptr< IPDBSession > PDBSession, bool RelativeAddress)
 
void dump (raw_ostream &OS, DIDumpType DumpType=DIDT_All) override
 
DILineInfo getLineInfoForAddress (uint64_t Address, DILineInfoSpecifier Specifier=DILineInfoSpecifier()) override
 
DILineInfoTable getLineInfoForAddressRange (uint64_t Address, uint64_t Size, DILineInfoSpecifier Specifier=DILineInfoSpecifier()) override
 
DIInliningInfo getInliningInfoForAddress (uint64_t Address, DILineInfoSpecifier Specifier=DILineInfoSpecifier()) override
 
- Public Member Functions inherited from llvm::DIContext
DIContextKind getKind () const
 
 DIContext (DIContextKind K)
 
virtual ~DIContext ()
 

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 }
 

Detailed Description

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 28 of file PDBContext.h.

Constructor & Destructor Documentation

PDBContext::PDBContext ( const object::COFFObjectFile Object,
std::unique_ptr< IPDBSession PDBSession,
bool  RelativeAddress 
)

Member Function Documentation

static bool llvm::PDBContext::classof ( const DIContext DICtx)
inlinestatic

Definition at line 38 of file PDBContext.h.

References llvm::DIContext::CK_PDB, and llvm::DIContext::getKind().

void PDBContext::dump ( raw_ostream OS,
DIDumpType  DumpType = DIDT_All 
)
overridevirtual

Implements llvm::DIContext.

Definition at line 44 of file PDBContext.cpp.

DIInliningInfo PDBContext::getInliningInfoForAddress ( uint64_t  Address,
DILineInfoSpecifier  Specifier = DILineInfoSpecifier() 
)
overridevirtual

Implements llvm::DIContext.

Definition at line 98 of file PDBContext.cpp.

References llvm::DIInliningInfo::addFrame(), and getLineInfoForAddress().

DILineInfo PDBContext::getLineInfoForAddress ( uint64_t  Address,
DILineInfoSpecifier  Specifier = DILineInfoSpecifier() 
)
overridevirtual
DILineInfoTable PDBContext::getLineInfoForAddressRange ( uint64_t  Address,
uint64_t  Size,
DILineInfoSpecifier  Specifier = DILineInfoSpecifier() 
)
overridevirtual

The documentation for this class was generated from the following files: