|
LLVM
4.0.0
|
Base class for all DWARFUnitSection classes. More...
#include <DWARFUnit.h>
Public Member Functions | |
| virtual DWARFUnit * | getUnitForOffset (uint32_t Offset) const =0 |
| Returns the Unit that contains the given section offset in the same section this Unit originated from. More... | |
| void | parse (DWARFContext &C, const DWARFSection &Section) |
| void | parseDWO (DWARFContext &C, const DWARFSection &DWOSection, DWARFUnitIndex *Index=nullptr) |
Protected Member Functions | |
| virtual void | parseImpl (DWARFContext &Context, const DWARFSection &Section, const DWARFDebugAbbrev *DA, StringRef RS, StringRef SS, StringRef SOS, StringRef AOS, StringRef LS, bool isLittleEndian, bool isDWO)=0 |
| ~DWARFUnitSectionBase ()=default | |
Base class for all DWARFUnitSection classes.
This provides the functionality common to all unit types.
Definition at line 39 of file DWARFUnit.h.
|
protecteddefault |
|
pure virtual |
Returns the Unit that contains the given section offset in the same section this Unit originated from.
Implemented in llvm::DWARFUnitSection< UnitType >, and llvm::DWARFUnitSection< llvm::DWARFCompileUnit >.
Referenced by llvm::DWARFDie::getAttributeValueAsReferencedDie().
| void llvm::DWARFUnitSectionBase::parse | ( | DWARFContext & | C, |
| const DWARFSection & | Section | ||
| ) |
Definition at line 31 of file DWARFUnit.cpp.
References llvm::DWARFSection::Data, llvm::DWARFContext::getAddrSection(), llvm::DWARFContext::getDebugAbbrev(), llvm::DWARFContext::getLineSection(), llvm::DWARFContext::getRangeSection(), llvm::DWARFContext::getStringSection(), and llvm::DWARFContext::isLittleEndian().
| void llvm::DWARFUnitSectionBase::parseDWO | ( | DWARFContext & | C, |
| const DWARFSection & | DWOSection, | ||
| DWARFUnitIndex * | Index = nullptr |
||
| ) |
Definition at line 37 of file DWARFUnit.cpp.
References llvm::DWARFSection::Data, llvm::DWARFContext::getAddrSection(), llvm::DWARFContext::getDebugAbbrevDWO(), llvm::DWARFContext::getLineDWOSection(), llvm::DWARFContext::getRangeDWOSection(), llvm::DWARFContext::getStringDWOSection(), llvm::DWARFContext::getStringOffsetDWOSection(), and llvm::DWARFContext::isLittleEndian().
|
protectedpure virtual |
1.8.6