LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::DWARFContextInMemory Class Reference

#include <DWARFContext.h>

Inheritance diagram for llvm::DWARFContextInMemory:
Inheritance graph
[legend]
Collaboration diagram for llvm::DWARFContextInMemory:
Collaboration graph
[legend]

Public Member Functions

 DWARFContextInMemory (object::ObjectFile *)
 
 ~DWARFContextInMemory ()
 
virtual bool isLittleEndian () const
 
virtual uint8_t getAddressSize () const
 
virtual const SectiongetInfoSection ()
 
virtual const std::map
< object::SectionRef, Section > & 
getTypesSections ()
 
virtual StringRef getAbbrevSection ()
 
virtual const SectiongetLocSection ()
 
virtual StringRef getARangeSection ()
 
virtual StringRef getDebugFrameSection ()
 
virtual const SectiongetLineSection ()
 
virtual StringRef getStringSection ()
 
virtual StringRef getRangeSection ()
 
virtual StringRef getPubNamesSection ()
 
virtual StringRef getPubTypesSection ()
 
virtual StringRef getGnuPubNamesSection ()
 
virtual StringRef getGnuPubTypesSection ()
 
virtual const SectiongetInfoDWOSection ()
 
virtual StringRef getAbbrevDWOSection ()
 
virtual StringRef getStringDWOSection ()
 
virtual StringRef getStringOffsetDWOSection ()
 
virtual StringRef getRangeDWOSection ()
 
virtual StringRef getAddrSection ()
 
- Public Member Functions inherited from llvm::DWARFContext
 DWARFContext ()
 
virtual ~DWARFContext ()
 
virtual void dump (raw_ostream &OS, DIDumpType DumpType=DIDT_All)
 
unsigned getNumCompileUnits ()
 Get the number of compile units in this context. More...
 
unsigned getNumTypeUnits ()
 Get the number of compile units in this context. More...
 
unsigned getNumDWOCompileUnits ()
 Get the number of compile units in the DWO context. More...
 
DWARFCompileUnitgetCompileUnitAtIndex (unsigned index)
 Get the compile unit at the specified index for this compile unit. More...
 
DWARFTypeUnitgetTypeUnitAtIndex (unsigned index)
 Get the type unit at the specified index for this compile unit. More...
 
DWARFCompileUnitgetDWOCompileUnitAtIndex (unsigned index)
 Get the compile unit at the specified index for the DWO compile units. More...
 
const DWARFDebugAbbrevgetDebugAbbrev ()
 Get a pointer to the parsed DebugAbbrev object. More...
 
const DWARFDebugLocgetDebugLoc ()
 Get a pointer to the parsed DebugLoc object. More...
 
const DWARFDebugAbbrevgetDebugAbbrevDWO ()
 Get a pointer to the parsed dwo abbreviations object. More...
 
const DWARFDebugArangesgetDebugAranges ()
 Get a pointer to the parsed DebugAranges object. More...
 
const DWARFDebugFramegetDebugFrame ()
 Get a pointer to the parsed frame information object. More...
 
const DWARFDebugLine::LineTablegetLineTableForCompileUnit (DWARFCompileUnit *cu)
 Get a pointer to a parsed line table corresponding to a compile unit. More...
 
virtual DILineInfo getLineInfoForAddress (uint64_t Address, DILineInfoSpecifier Specifier=DILineInfoSpecifier())
 
virtual DILineInfoTable getLineInfoForAddressRange (uint64_t Address, uint64_t Size, DILineInfoSpecifier Specifier=DILineInfoSpecifier())
 
virtual DIInliningInfo getInliningInfoForAddress (uint64_t Address, DILineInfoSpecifier Specifier=DILineInfoSpecifier())
 
- Public Member Functions inherited from llvm::DIContext
DIContextKind getKind () const
 
 DIContext (DIContextKind K)
 
virtual ~DIContext ()
 

Additional Inherited Members

- Public Types inherited from llvm::DIContext
enum  DIContextKind { CK_DWARF }
 
- Static Public Member Functions inherited from llvm::DWARFContext
static bool classof (const DIContext *DICtx)
 
static bool isSupportedVersion (unsigned version)
 
- Static Public Member Functions inherited from llvm::DIContext
static DIContextgetDWARFContext (object::ObjectFile *)
 getDWARFContext - get a context for binary DWARF data. More...
 

Detailed Description

DWARFContextInMemory is the simplest possible implementation of a DWARFContext. It assumes all content is available in memory and stores pointers to it.

Definition at line 177 of file DWARFContext.h.

Constructor & Destructor Documentation

DWARFContextInMemory::DWARFContextInMemory ( object::ObjectFile Obj)
DWARFContextInMemory::~DWARFContextInMemory ( )

Definition at line 715 of file DWARFContext.cpp.

References llvm::DeleteContainerPointers().

Member Function Documentation

virtual StringRef llvm::DWARFContextInMemory::getAbbrevDWOSection ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 228 of file DWARFContext.h.

virtual StringRef llvm::DWARFContextInMemory::getAbbrevSection ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 214 of file DWARFContext.h.

virtual uint8_t llvm::DWARFContextInMemory::getAddressSize ( ) const
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 209 of file DWARFContext.h.

virtual StringRef llvm::DWARFContextInMemory::getAddrSection ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 234 of file DWARFContext.h.

virtual StringRef llvm::DWARFContextInMemory::getARangeSection ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 216 of file DWARFContext.h.

virtual StringRef llvm::DWARFContextInMemory::getDebugFrameSection ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 217 of file DWARFContext.h.

virtual StringRef llvm::DWARFContextInMemory::getGnuPubNamesSection ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 223 of file DWARFContext.h.

virtual StringRef llvm::DWARFContextInMemory::getGnuPubTypesSection ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 224 of file DWARFContext.h.

virtual const Section& llvm::DWARFContextInMemory::getInfoDWOSection ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 227 of file DWARFContext.h.

virtual const Section& llvm::DWARFContextInMemory::getInfoSection ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 210 of file DWARFContext.h.

virtual const Section& llvm::DWARFContextInMemory::getLineSection ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 218 of file DWARFContext.h.

virtual const Section& llvm::DWARFContextInMemory::getLocSection ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 215 of file DWARFContext.h.

virtual StringRef llvm::DWARFContextInMemory::getPubNamesSection ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 221 of file DWARFContext.h.

virtual StringRef llvm::DWARFContextInMemory::getPubTypesSection ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 222 of file DWARFContext.h.

virtual StringRef llvm::DWARFContextInMemory::getRangeDWOSection ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 233 of file DWARFContext.h.

virtual StringRef llvm::DWARFContextInMemory::getRangeSection ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 220 of file DWARFContext.h.

virtual StringRef llvm::DWARFContextInMemory::getStringDWOSection ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 229 of file DWARFContext.h.

virtual StringRef llvm::DWARFContextInMemory::getStringOffsetDWOSection ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 230 of file DWARFContext.h.

virtual StringRef llvm::DWARFContextInMemory::getStringSection ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 219 of file DWARFContext.h.

virtual const std::map<object::SectionRef, Section>& llvm::DWARFContextInMemory::getTypesSections ( )
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 211 of file DWARFContext.h.

virtual bool llvm::DWARFContextInMemory::isLittleEndian ( ) const
inlinevirtual

Implements llvm::DWARFContext.

Definition at line 208 of file DWARFContext.h.


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