LLVM
8.0.1
|
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 DWARFAbbreviationDeclaration * | getAbbreviationDeclarationPtr () const |
DWARFDebugInfoEntry - A DIE with only the minimum required data.
Definition at line 24 of file DWARFDebugInfoEntry.h.
|
default |
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::getCompilationDir().
bool DWARFDebugInfoEntry::extractFast | ( | const DWARFUnit & | U, |
uint32_t * | OffsetPtr, | ||
const DWARFDataExtractor & | DebugInfoData, | ||
uint32_t | UEndOffset, | ||
uint32_t | Depth | ||
) |
High performance extraction should use this call.
Definition at line 29 of file DWARFDebugInfoEntry.cpp.
References D, llvm::Depth, llvm::DWARFAbbreviationDeclarationSet::getAbbreviationDeclaration(), llvm::DWARFUnit::getAbbreviations(), llvm::DWARFUnit::getFormParams(), llvm::DataExtractor::getULEB128(), llvm::DataExtractor::isValidOffset(), and llvm::DWARFFormValue::skipValue().
|
inline |
Definition at line 56 of file DWARFDebugInfoEntry.h.
Referenced by llvm::DWARFDie::getAbbreviationDeclarationPtr(), llvm::DWARFUnit::getCompilationDir(), and llvm::DWARFUnit::getSibling().
|
inline |
Definition at line 48 of file DWARFDebugInfoEntry.h.
Referenced by llvm::DWARFUnit::getLastChild(), llvm::DWARFUnit::getParent(), llvm::DWARFUnit::getPreviousSibling(), and llvm::DWARFUnit::getSibling().
|
inline |
Definition at line 47 of file DWARFDebugInfoEntry.h.
Referenced by llvm::DWARFDie::getOffset().
|
inline |
Definition at line 50 of file DWARFDebugInfoEntry.h.
References llvm::DWARFAbbreviationDeclaration::getTag().
|
inline |
Definition at line 54 of file DWARFDebugInfoEntry.h.
References llvm::DWARFAbbreviationDeclaration::hasChildren().
Referenced by llvm::DWARFUnit::getFirstChild(), llvm::DWARFUnit::getLastChild(), and llvm::DWARFDie::hasChildren().