LLVM 19.0.0git
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 , CK_BTF }
 

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 (object::SectionedAddress Address, DILineInfoSpecifier Specifier=DILineInfoSpecifier())=0
 
virtual DILineInfo getLineInfoForDataAddress (object::SectionedAddress Address)=0
 
virtual DILineInfoTable getLineInfoForAddressRange (object::SectionedAddress Address, uint64_t Size, DILineInfoSpecifier Specifier=DILineInfoSpecifier())=0
 
virtual DIInliningInfo getInliningInfoForAddress (object::SectionedAddress Address, DILineInfoSpecifier Specifier=DILineInfoSpecifier())=0
 
virtual std::vector< DILocalgetLocalsForAddress (object::SectionedAddress Address)=0
 

Detailed Description

Definition at line 236 of file DIContext.h.

Member Enumeration Documentation

◆ DIContextKind

Enumerator
CK_DWARF 
CK_PDB 
CK_BTF 

Definition at line 238 of file DIContext.h.

Constructor & Destructor Documentation

◆ DIContext()

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

Definition at line 240 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 ( object::SectionedAddress  Address,
DILineInfoSpecifier  Specifier = DILineInfoSpecifier() 
)
pure virtual

◆ getKind()

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

Definition at line 243 of file DIContext.h.

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

◆ getLineInfoForAddress()

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

◆ getLineInfoForAddressRange()

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

◆ getLineInfoForDataAddress()

virtual DILineInfo llvm::DIContext::getLineInfoForDataAddress ( object::SectionedAddress  Address)
pure virtual

◆ getLocalsForAddress()

virtual std::vector< DILocal > llvm::DIContext::getLocalsForAddress ( object::SectionedAddress  Address)
pure virtual

◆ verify()

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

Reimplemented in llvm::DWARFContext.

Definition at line 247 of file DIContext.h.


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