|
LLVM
3.7.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) |
Protected Member Functions | |
| virtual void | parseImpl (DWARFContext &Context, const DWARFSection &Section, const DWARFDebugAbbrev *DA, StringRef RS, StringRef SS, StringRef SOS, StringRef AOS, bool isLittleEndian)=0 |
| ~DWARFUnitSectionBase ()=default | |
Base class for all DWARFUnitSection classes.
This provides the functionality common to all unit types.
Definition at line 35 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 findUnitAndExtractFast().
| void DWARFUnitSectionBase::parse | ( | DWARFContext & | C, |
| const DWARFSection & | Section | ||
| ) |
Definition at line 20 of file DWARFUnit.cpp.
References llvm::DWARFContext::getAddrSection(), llvm::DWARFContext::getDebugAbbrev(), llvm::DWARFContext::getRangeSection(), llvm::DWARFContext::getStringSection(), and llvm::DWARFContext::isLittleEndian().
| void DWARFUnitSectionBase::parseDWO | ( | DWARFContext & | C, |
| const DWARFSection & | DWOSection | ||
| ) |
Definition at line 26 of file DWARFUnit.cpp.
References llvm::DWARFContext::getAddrSection(), llvm::DWARFContext::getDebugAbbrevDWO(), llvm::DWARFContext::getRangeDWOSection(), llvm::DWARFContext::getStringDWOSection(), llvm::DWARFContext::getStringOffsetDWOSection(), and llvm::DWARFContext::isLittleEndian().
|
protectedpure virtual |
1.8.6