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

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

#include "llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h"

Public Member Functions

 DWARFDebugInfoEntry ()=default
 
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 DWARFDataExtractor &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 DWARFAbbreviationDeclarationgetAbbreviationDeclarationPtr () const
 

Detailed Description

DWARFDebugInfoEntry - A DIE with only the minimum required data.

Definition at line 24 of file DWARFDebugInfoEntry.h.

Constructor & Destructor Documentation

◆ DWARFDebugInfoEntry()

llvm::DWARFDebugInfoEntry::DWARFDebugInfoEntry ( )
default

Member Function Documentation

◆ extractFast() [1/2]

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 22 of file DWARFDebugInfoEntry.cpp.

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

Referenced by llvm::DWARFUnit::getDWOId().

◆ extractFast() [2/2]

bool DWARFDebugInfoEntry::extractFast ( const DWARFUnit U,
uint32_t OffsetPtr,
const DWARFDataExtractor DebugInfoData,
uint32_t  UEndOffset,
uint32_t  Depth 
)

◆ getAbbreviationDeclarationPtr()

const DWARFAbbreviationDeclaration* llvm::DWARFDebugInfoEntry::getAbbreviationDeclarationPtr ( ) const
inline

◆ getDepth()

uint32_t llvm::DWARFDebugInfoEntry::getDepth ( ) const
inline

◆ getOffset()

uint32_t llvm::DWARFDebugInfoEntry::getOffset ( ) const
inline

Definition at line 47 of file DWARFDebugInfoEntry.h.

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

◆ getTag()

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

◆ hasChildren()

bool llvm::DWARFDebugInfoEntry::hasChildren ( ) const
inline

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