LLVM  4.0.0
Public Member Functions | List of all members
llvm::DWARFDebugInfoEntry Class Reference

DWARFDebugInfoEntry - A DIE with only the minimum required data. More...

#include <DWARFDebugInfoEntry.h>

Public Member Functions

 DWARFDebugInfoEntry ()
 
bool extractFast (const DWARFUnit &U, uint32_t *OffsetPtr)
 Extracts a debug info entry, which is a child of a given unit, starting at a given offset. More...
 
bool extractFast (const DWARFUnit &U, uint32_t *OffsetPtr, const DataExtractor &DebugInfoData, uint32_t UEndOffset, uint32_t Depth)
 High performance extraction should use this call. More...
 
uint32_t getOffset () const
 
uint32_t getDepth () const
 
dwarf::Tag getTag () const
 
bool hasChildren () const
 
const
DWARFAbbreviationDeclaration
getAbbreviationDeclarationPtr () const
 

Detailed Description

DWARFDebugInfoEntry - A DIE with only the minimum required data.

Definition at line 30 of file DWARFDebugInfoEntry.h.

Constructor & Destructor Documentation

llvm::DWARFDebugInfoEntry::DWARFDebugInfoEntry ( )
inline

Definition at line 40 of file DWARFDebugInfoEntry.h.

Member Function Documentation

bool DWARFDebugInfoEntry::extractFast ( const DWARFUnit U,
uint32_t OffsetPtr 
)

Extracts a debug info entry, which is a child of a given unit, starting at a given offset.

If DIE can't be extracted, returns false and doesn't change OffsetPtr.

Definition at line 25 of file DWARFDebugInfoEntry.cpp.

References llvm::DWARFUnit::getDebugInfoExtractor(), and llvm::DWARFUnit::getNextUnitOffset().

bool DWARFDebugInfoEntry::extractFast ( const DWARFUnit U,
uint32_t OffsetPtr,
const DataExtractor DebugInfoData,
uint32_t  UEndOffset,
uint32_t  Depth 
)
const DWARFAbbreviationDeclaration* llvm::DWARFDebugInfoEntry::getAbbreviationDeclarationPtr ( ) const
inline
uint32_t llvm::DWARFDebugInfoEntry::getDepth ( ) const
inline
uint32_t llvm::DWARFDebugInfoEntry::getOffset ( ) const
inline

Definition at line 53 of file DWARFDebugInfoEntry.h.

Referenced by llvm::DWARFDie::getOffset().

dwarf::Tag llvm::DWARFDebugInfoEntry::getTag ( ) const
inline
bool llvm::DWARFDebugInfoEntry::hasChildren ( ) const
inline

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