LLVM: llvm::DWARFContext::DWARFContextState Class Reference (original) (raw)

DWARFContextState This structure contains all member variables for DWARFContext that need to be protected in multi-threaded environments. More...

#include "[llvm/DebugInfo/DWARF/DWARFContext.h](DWARFContext%5F8h%5Fsource.html)"

Public Member Functions
DWARFContextState (DWARFContext &DC)
virtual ~DWARFContextState ()=default
virtual DWARFUnitVector & getNormalUnits ()=0
virtual DWARFUnitVector & getDWOUnits (bool Lazy=false)=0
virtual const DWARFDebugAbbrev * getDebugAbbrevDWO ()=0
virtual const DWARFUnitIndex & getCUIndex ()=0
virtual const DWARFUnitIndex & getTUIndex ()=0
virtual DWARFGdbIndex & getGdbIndex ()=0
virtual const DWARFDebugAbbrev * getDebugAbbrev ()=0
virtual const DWARFDebugLoc * getDebugLoc ()=0
virtual const DWARFDebugAranges * getDebugAranges ()=0
virtual Expected< const DWARFDebugLine::LineTable * > getLineTableForUnit (DWARFUnit *U, function_ref< void(Error)> RecoverableErrHandler)=0
virtual void clearLineTableForUnit (DWARFUnit *U)=0
virtual Expected< const DWARFDebugFrame * > getDebugFrame ()=0
virtual Expected< const DWARFDebugFrame * > getEHFrame ()=0
virtual const DWARFDebugMacro * getDebugMacinfo ()=0
virtual const DWARFDebugMacro * getDebugMacinfoDWO ()=0
virtual const DWARFDebugMacro * getDebugMacro ()=0
virtual const DWARFDebugMacro * getDebugMacroDWO ()=0
virtual const DWARFDebugNames & getDebugNames ()=0
virtual const AppleAcceleratorTable & getAppleNames ()=0
virtual const AppleAcceleratorTable & getAppleTypes ()=0
virtual const AppleAcceleratorTable & getAppleNamespaces ()=0
virtual const AppleAcceleratorTable & getAppleObjC ()=0
virtual std::shared_ptr< DWARFContext > getDWOContext (StringRef AbsolutePath)=0
virtual const DenseMap< uint64_t, DWARFTypeUnit * > & getTypeUnitMap (bool IsDWO)=0
virtual bool isThreadSafe () const =0
LLVM_ABI std::unique_ptr< DWARFDebugMacro > parseMacroOrMacinfo (MacroSecType SectionType)
Parse a macro[.dwo] or macinfo[.dwo] section.
Protected Types
enum MacroSecType { MacinfoSection, MacinfoDwoSection, MacroSection, MacroDwoSection }
Helper enum to distinguish between macro[.dwo] and macinfo[.dwo] section. More...

DWARFContextState This structure contains all member variables for DWARFContext that need to be protected in multi-threaded environments.

Threading support can be enabled by setting the ThreadSafe to true when constructing a DWARFContext to allow DWARRContext to be able to be used in a multi-threaded environment, or not enabled to allow for maximum performance in single threaded environments.

Definition at line 58 of file DWARFContext.h.

MacroSecType

Helper enum to distinguish between macro[.dwo] and macinfo[.dwo] section.

Enumerator
MacinfoSection
MacinfoDwoSection
MacroSection
MacroDwoSection

Definition at line 62 of file DWARFContext.h.

llvm::DWARFContext::DWARFContextState::DWARFContextState ( DWARFContext & DC) inline

~DWARFContextState()

virtual llvm::DWARFContext::DWARFContextState::~DWARFContextState ( ) virtualdefault

clearLineTableForUnit()

virtual void llvm::DWARFContext::DWARFContextState::clearLineTableForUnit ( DWARFUnit * U) pure virtual

getAppleNames()

getAppleNamespaces()

getAppleObjC()

getAppleTypes()

getCUIndex()

virtual const DWARFUnitIndex & llvm::DWARFContext::DWARFContextState::getCUIndex ( ) pure virtual

getDebugAbbrev()

getDebugAbbrevDWO()

virtual const DWARFDebugAbbrev * llvm::DWARFContext::DWARFContextState::getDebugAbbrevDWO ( ) pure virtual

getDebugAranges()

getDebugFrame()

getDebugLoc()

virtual const DWARFDebugLoc * llvm::DWARFContext::DWARFContextState::getDebugLoc ( ) pure virtual

getDebugMacinfo()

virtual const DWARFDebugMacro * llvm::DWARFContext::DWARFContextState::getDebugMacinfo ( ) pure virtual

getDebugMacinfoDWO()

virtual const DWARFDebugMacro * llvm::DWARFContext::DWARFContextState::getDebugMacinfoDWO ( ) pure virtual

getDebugMacro()

virtual const DWARFDebugMacro * llvm::DWARFContext::DWARFContextState::getDebugMacro ( ) pure virtual

getDebugMacroDWO()

virtual const DWARFDebugMacro * llvm::DWARFContext::DWARFContextState::getDebugMacroDWO ( ) pure virtual

getDebugNames()

virtual const DWARFDebugNames & llvm::DWARFContext::DWARFContextState::getDebugNames ( ) pure virtual

getDWOContext()

virtual std::shared_ptr< DWARFContext > llvm::DWARFContext::DWARFContextState::getDWOContext ( StringRef AbsolutePath) pure virtual

getDWOUnits()

virtual DWARFUnitVector & llvm::DWARFContext::DWARFContextState::getDWOUnits ( bool Lazy = false) pure virtual

getEHFrame()

getGdbIndex()

virtual DWARFGdbIndex & llvm::DWARFContext::DWARFContextState::getGdbIndex ( ) pure virtual

getLineTableForUnit()

getNormalUnits()

virtual DWARFUnitVector & llvm::DWARFContext::DWARFContextState::getNormalUnits ( ) pure virtual

getTUIndex()

virtual const DWARFUnitIndex & llvm::DWARFContext::DWARFContextState::getTUIndex ( ) pure virtual

getTypeUnitMap()

isThreadSafe()

virtual bool llvm::DWARFContext::DWARFContextState::isThreadSafe ( ) const pure virtual

parseMacroOrMacinfo()

std::unique_ptr< DWARFDebugMacro > DWARFContext::DWARFContextState::parseMacroOrMacinfo ( MacroSecType SectionType )

D


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