LLVM  4.0.0
Public Member Functions | Protected Member Functions | List of all members
llvm::DWARFUnitSectionBase Class Referenceabstract

Base class for all DWARFUnitSection classes. More...

#include <DWARFUnit.h>

Inheritance diagram for llvm::DWARFUnitSectionBase:
[legend]

Public Member Functions

virtual DWARFUnitgetUnitForOffset (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
 

Detailed Description

Base class for all DWARFUnitSection classes.

This provides the functionality common to all unit types.

Definition at line 39 of file DWARFUnit.h.

Constructor & Destructor Documentation

llvm::DWARFUnitSectionBase::~DWARFUnitSectionBase ( )
protecteddefault

Member Function Documentation

virtual DWARFUnit* llvm::DWARFUnitSectionBase::getUnitForOffset ( uint32_t  Offset) const
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 
)
void llvm::DWARFUnitSectionBase::parseDWO ( DWARFContext C,
const DWARFSection DWOSection,
DWARFUnitIndex Index = nullptr 
)
virtual void llvm::DWARFUnitSectionBase::parseImpl ( DWARFContext Context,
const DWARFSection Section,
const DWARFDebugAbbrev DA,
StringRef  RS,
StringRef  SS,
StringRef  SOS,
StringRef  AOS,
StringRef  LS,
bool  isLittleEndian,
bool  isDWO 
)
protectedpure virtual

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