|
LLVM
7.0.0
|
Base class for all DWARFUnitSection classes. More...
#include "llvm/DebugInfo/DWARF/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... | |
| virtual DWARFUnit * | getUnitForIndexEntry (const DWARFUnitIndex::Entry &E)=0 |
| void | parse (DWARFContext &C, const DWARFSection &Section) |
| void | parseDWO (DWARFContext &C, const DWARFSection &DWOSection, bool Lazy=false) |
Protected Member Functions | |
| ~DWARFUnitSectionBase ()=default | |
| virtual void | parseImpl (DWARFContext &Context, const DWARFObject &Obj, const DWARFSection &Section, const DWARFDebugAbbrev *DA, const DWARFSection *RS, StringRef SS, const DWARFSection &SOS, const DWARFSection *AOS, const DWARFSection &LS, bool isLittleEndian, bool isDWO, bool Lazy)=0 |
Base class for all DWARFUnitSection classes.
This provides the functionality common to all unit types.
Definition at line 106 of file DWARFUnit.h.
|
protecteddefault |
|
pure virtual |
Implemented in llvm::DWARFUnitSection< UnitType >, and llvm::DWARFUnitSection< llvm::DWARFCompileUnit >.
|
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 >.
| void DWARFUnitSectionBase::parse | ( | DWARFContext & | C, |
| const DWARFSection & | Section | ||
| ) |
Definition at line 34 of file DWARFUnit.cpp.
References D, llvm::DWARFObject::getAddrSection(), llvm::DWARFContext::getDebugAbbrev(), llvm::DWARFContext::getDWARFObj(), llvm::DWARFObject::getLineSection(), llvm::DWARFObject::getRangeSection(), llvm::DWARFObject::getStringOffsetSection(), llvm::DWARFObject::getStringSection(), and llvm::DWARFObject::isLittleEndian().
| void DWARFUnitSectionBase::parseDWO | ( | DWARFContext & | C, |
| const DWARFSection & | DWOSection, | ||
| bool | Lazy = false |
||
| ) |
Definition at line 42 of file DWARFUnit.cpp.
References D, llvm::DWARFObject::getAddrSection(), llvm::DWARFContext::getDebugAbbrevDWO(), llvm::DWARFContext::getDWARFObj(), llvm::DWARFObject::getLineDWOSection(), llvm::DWARFObject::getRangeDWOSection(), llvm::DWARFObject::getStringDWOSection(), llvm::DWARFObject::getStringOffsetDWOSection(), and llvm::DWARFContext::isLittleEndian().
|
protectedpure virtual |
1.8.13