LLVM  6.0.0svn
Public Types | Public Member Functions | List of all members
llvm::DIContext Class Referenceabstract

#include "llvm/DebugInfo/DIContext.h"

Inheritance diagram for llvm::DIContext:
Inheritance graph
[legend]

Public Types

enum  DIContextKind { CK_DWARF, CK_PDB }
 

Public Member Functions

 DIContext (DIContextKind K)
 
virtual ~DIContext ()=default
 
DIContextKind getKind () const
 
virtual void dump (raw_ostream &OS, DIDumpOptions DumpOpts)=0
 
virtual bool verify (raw_ostream &OS, DIDumpOptions DumpOpts={})
 
virtual DILineInfo getLineInfoForAddress (uint64_t Address, DILineInfoSpecifier Specifier=DILineInfoSpecifier())=0
 
virtual DILineInfoTable getLineInfoForAddressRange (uint64_t Address, uint64_t Size, DILineInfoSpecifier Specifier=DILineInfoSpecifier())=0
 
virtual DIInliningInfo getInliningInfoForAddress (uint64_t Address, DILineInfoSpecifier Specifier=DILineInfoSpecifier())=0
 

Detailed Description

Definition at line 179 of file DIContext.h.

Member Enumeration Documentation

◆ DIContextKind

Enumerator
CK_DWARF 
CK_PDB 

Definition at line 181 of file DIContext.h.

Constructor & Destructor Documentation

◆ DIContext()

llvm::DIContext::DIContext ( DIContextKind  K)
inline

Definition at line 186 of file DIContext.h.

◆ ~DIContext()

virtual llvm::DIContext::~DIContext ( )
virtualdefault

Member Function Documentation

◆ dump()

virtual void llvm::DIContext::dump ( raw_ostream OS,
DIDumpOptions  DumpOpts 
)
pure virtual

◆ getInliningInfoForAddress()

virtual DIInliningInfo llvm::DIContext::getInliningInfoForAddress ( uint64_t  Address,
DILineInfoSpecifier  Specifier = DILineInfoSpecifier() 
)
pure virtual

◆ getKind()

DIContextKind llvm::DIContext::getKind ( ) const
inline

Definition at line 189 of file DIContext.h.

References llvm::DILineInfo::dump(), and Kind.

Referenced by llvm::pdb::PDBContext::classof(), and llvm::DWARFContext::classof().

◆ getLineInfoForAddress()

virtual DILineInfo llvm::DIContext::getLineInfoForAddress ( uint64_t  Address,
DILineInfoSpecifier  Specifier = DILineInfoSpecifier() 
)
pure virtual

◆ getLineInfoForAddressRange()

virtual DILineInfoTable llvm::DIContext::getLineInfoForAddressRange ( uint64_t  Address,
uint64_t  Size,
DILineInfoSpecifier  Specifier = DILineInfoSpecifier() 
)
pure virtual

◆ verify()

virtual bool llvm::DIContext::verify ( raw_ostream OS,
DIDumpOptions  DumpOpts = {} 
)
inlinevirtual

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