LLVM  10.0.0svn
Public Member Functions | List of all members
llvm::DWARFObject Class Referenceabstract

#include "llvm/DebugInfo/DWARF/DWARFObject.h"

Public Member Functions

virtual ~DWARFObject ()=default
 
virtual StringRef getFileName () const
 
virtual const object::ObjectFilegetFile () const
 
virtual ArrayRef< SectionNamegetSectionNames () const
 
virtual bool isLittleEndian () const =0
 
virtual uint8_t getAddressSize () const
 
virtual void forEachInfoSections (function_ref< void(const DWARFSection &)> F) const
 
virtual void forEachTypesSections (function_ref< void(const DWARFSection &)> F) const
 
virtual StringRef getAbbrevSection () const
 
virtual const DWARFSectiongetLocSection () const
 
virtual const DWARFSectiongetLoclistsSection () const
 
virtual StringRef getArangesSection () const
 
virtual const DWARFSectiongetFrameSection () const
 
virtual const DWARFSectiongetEHFrameSection () const
 
virtual const DWARFSectiongetLineSection () const
 
virtual StringRef getLineStrSection () const
 
virtual StringRef getStrSection () const
 
virtual const DWARFSectiongetRangesSection () const
 
virtual const DWARFSectiongetRnglistsSection () const
 
virtual StringRef getMacinfoSection () const
 
virtual const DWARFSectiongetPubnamesSection () const
 
virtual const DWARFSectiongetPubtypesSection () const
 
virtual const DWARFSectiongetGnuPubnamesSection () const
 
virtual const DWARFSectiongetGnuPubtypesSection () const
 
virtual const DWARFSectiongetStrOffsetsSection () const
 
virtual void forEachInfoDWOSections (function_ref< void(const DWARFSection &)> F) const
 
virtual void forEachTypesDWOSections (function_ref< void(const DWARFSection &)> F) const
 
virtual StringRef getAbbrevDWOSection () const
 
virtual const DWARFSectiongetLineDWOSection () const
 
virtual const DWARFSectiongetLocDWOSection () const
 
virtual StringRef getStrDWOSection () const
 
virtual const DWARFSectiongetStrOffsetsDWOSection () const
 
virtual const DWARFSectiongetRangesDWOSection () const
 
virtual const DWARFSectiongetRnglistsDWOSection () const
 
virtual const DWARFSectiongetAddrSection () const
 
virtual const DWARFSectiongetAppleNamesSection () const
 
virtual const DWARFSectiongetAppleTypesSection () const
 
virtual const DWARFSectiongetAppleNamespacesSection () const
 
virtual const DWARFSectiongetNamesSection () const
 
virtual const DWARFSectiongetAppleObjCSection () const
 
virtual StringRef getCUIndexSection () const
 
virtual StringRef getGdbIndexSection () const
 
virtual StringRef getTUIndexSection () const
 
virtual Optional< RelocAddrEntryfind (const DWARFSection &Sec, uint64_t Pos) const =0
 

Detailed Description

Definition at line 25 of file DWARFObject.h.

Constructor & Destructor Documentation

◆ ~DWARFObject()

virtual llvm::DWARFObject::~DWARFObject ( )
virtualdefault

Member Function Documentation

◆ find()

virtual Optional<RelocAddrEntry> llvm::DWARFObject::find ( const DWARFSection Sec,
uint64_t  Pos 
) const
pure virtual

Referenced by getTUIndexSection().

◆ forEachInfoDWOSections()

virtual void llvm::DWARFObject::forEachInfoDWOSections ( function_ref< void(const DWARFSection &)>  F) const
inlinevirtual

Definition at line 57 of file DWARFObject.h.

◆ forEachInfoSections()

virtual void llvm::DWARFObject::forEachInfoSections ( function_ref< void(const DWARFSection &)>  F) const
inlinevirtual

Definition at line 36 of file DWARFObject.h.

Referenced by llvm::DWARFVerifier::handleDebugInfo().

◆ forEachTypesDWOSections()

virtual void llvm::DWARFObject::forEachTypesDWOSections ( function_ref< void(const DWARFSection &)>  F) const
inlinevirtual

Definition at line 59 of file DWARFObject.h.

◆ forEachTypesSections()

virtual void llvm::DWARFObject::forEachTypesSections ( function_ref< void(const DWARFSection &)>  F) const
inlinevirtual

Definition at line 38 of file DWARFObject.h.

Referenced by llvm::DWARFVerifier::handleDebugInfo().

◆ getAbbrevDWOSection()

virtual StringRef llvm::DWARFObject::getAbbrevDWOSection ( ) const
inlinevirtual

Definition at line 60 of file DWARFObject.h.

Referenced by llvm::DWARFVerifier::handleDebugAbbrev().

◆ getAbbrevSection()

virtual StringRef llvm::DWARFObject::getAbbrevSection ( ) const
inlinevirtual

Definition at line 39 of file DWARFObject.h.

Referenced by llvm::DWARFVerifier::handleDebugAbbrev().

◆ getAddressSize()

virtual uint8_t llvm::DWARFObject::getAddressSize ( ) const
inlinevirtual

Definition at line 34 of file DWARFObject.h.

References llvm_unreachable.

Referenced by dumpLocation().

◆ getAddrSection()

virtual const DWARFSection& llvm::DWARFObject::getAddrSection ( ) const
inlinevirtual

◆ getAppleNamespacesSection()

virtual const DWARFSection& llvm::DWARFObject::getAppleNamespacesSection ( ) const
inlinevirtual

Definition at line 72 of file DWARFObject.h.

Referenced by llvm::DWARFVerifier::handleAccelTables().

◆ getAppleNamesSection()

virtual const DWARFSection& llvm::DWARFObject::getAppleNamesSection ( ) const
inlinevirtual

Definition at line 70 of file DWARFObject.h.

Referenced by llvm::DWARFVerifier::handleAccelTables().

◆ getAppleObjCSection()

virtual const DWARFSection& llvm::DWARFObject::getAppleObjCSection ( ) const
inlinevirtual

◆ getAppleTypesSection()

virtual const DWARFSection& llvm::DWARFObject::getAppleTypesSection ( ) const
inlinevirtual

Definition at line 71 of file DWARFObject.h.

Referenced by llvm::DWARFVerifier::handleAccelTables().

◆ getArangesSection()

virtual StringRef llvm::DWARFObject::getArangesSection ( ) const
inlinevirtual

Definition at line 42 of file DWARFObject.h.

Referenced by llvm::DWARFDebugAranges::generate().

◆ getCUIndexSection()

virtual StringRef llvm::DWARFObject::getCUIndexSection ( ) const
inlinevirtual

Definition at line 77 of file DWARFObject.h.

◆ getEHFrameSection()

virtual const DWARFSection& llvm::DWARFObject::getEHFrameSection ( ) const
inlinevirtual

Definition at line 44 of file DWARFObject.h.

◆ getFile()

virtual const object::ObjectFile* llvm::DWARFObject::getFile ( ) const
inlinevirtual

Definition at line 31 of file DWARFObject.h.

Referenced by llvm::DWARFVerifier::DWARFVerifier().

◆ getFileName()

virtual StringRef llvm::DWARFObject::getFileName ( ) const
inlinevirtual

Definition at line 30 of file DWARFObject.h.

References llvm_unreachable.

◆ getFrameSection()

virtual const DWARFSection& llvm::DWARFObject::getFrameSection ( ) const
inlinevirtual

Definition at line 43 of file DWARFObject.h.

◆ getGdbIndexSection()

virtual StringRef llvm::DWARFObject::getGdbIndexSection ( ) const
inlinevirtual

Definition at line 78 of file DWARFObject.h.

◆ getGnuPubnamesSection()

virtual const DWARFSection& llvm::DWARFObject::getGnuPubnamesSection ( ) const
inlinevirtual

Definition at line 53 of file DWARFObject.h.

◆ getGnuPubtypesSection()

virtual const DWARFSection& llvm::DWARFObject::getGnuPubtypesSection ( ) const
inlinevirtual

Definition at line 54 of file DWARFObject.h.

◆ getLineDWOSection()

virtual const DWARFSection& llvm::DWARFObject::getLineDWOSection ( ) const
inlinevirtual

Definition at line 61 of file DWARFObject.h.

Referenced by llvm::DWARFUnitVector::addUnitsForDWOSection().

◆ getLineSection()

virtual const DWARFSection& llvm::DWARFObject::getLineSection ( ) const
inlinevirtual

◆ getLineStrSection()

virtual StringRef llvm::DWARFObject::getLineStrSection ( ) const
inlinevirtual

Definition at line 46 of file DWARFObject.h.

◆ getLocDWOSection()

virtual const DWARFSection& llvm::DWARFObject::getLocDWOSection ( ) const
inlinevirtual

Definition at line 62 of file DWARFObject.h.

Referenced by llvm::DWARFUnitVector::addUnitsForDWOSection().

◆ getLoclistsSection()

virtual const DWARFSection& llvm::DWARFObject::getLoclistsSection ( ) const
inlinevirtual

Definition at line 41 of file DWARFObject.h.

Referenced by dumpLocation().

◆ getLocSection()

virtual const DWARFSection& llvm::DWARFObject::getLocSection ( ) const
inlinevirtual

◆ getMacinfoSection()

virtual StringRef llvm::DWARFObject::getMacinfoSection ( ) const
inlinevirtual

Definition at line 50 of file DWARFObject.h.

◆ getNamesSection()

virtual const DWARFSection& llvm::DWARFObject::getNamesSection ( ) const
inlinevirtual

Definition at line 75 of file DWARFObject.h.

Referenced by llvm::DWARFVerifier::handleAccelTables().

◆ getPubnamesSection()

virtual const DWARFSection& llvm::DWARFObject::getPubnamesSection ( ) const
inlinevirtual

Definition at line 51 of file DWARFObject.h.

◆ getPubtypesSection()

virtual const DWARFSection& llvm::DWARFObject::getPubtypesSection ( ) const
inlinevirtual

Definition at line 52 of file DWARFObject.h.

◆ getRangesDWOSection()

virtual const DWARFSection& llvm::DWARFObject::getRangesDWOSection ( ) const
inlinevirtual

Definition at line 67 of file DWARFObject.h.

Referenced by llvm::DWARFUnitVector::addUnitsForDWOSection().

◆ getRangesSection()

virtual const DWARFSection& llvm::DWARFObject::getRangesSection ( ) const
inlinevirtual

◆ getRnglistsDWOSection()

virtual const DWARFSection& llvm::DWARFObject::getRnglistsDWOSection ( ) const
inlinevirtual

Definition at line 68 of file DWARFObject.h.

Referenced by llvm::DWARFUnit::tryExtractDIEsIfNeeded().

◆ getRnglistsSection()

virtual const DWARFSection& llvm::DWARFObject::getRnglistsSection ( ) const
inlinevirtual

Definition at line 49 of file DWARFObject.h.

Referenced by llvm::DWARFUnit::tryExtractDIEsIfNeeded().

◆ getSectionNames()

virtual ArrayRef<SectionName> llvm::DWARFObject::getSectionNames ( ) const
inlinevirtual

Definition at line 32 of file DWARFObject.h.

References isLittleEndian().

Referenced by llvm::DWARFFormValue::dumpAddressSection(), and dumpRanges().

◆ getStrDWOSection()

virtual StringRef llvm::DWARFObject::getStrDWOSection ( ) const
inlinevirtual

Definition at line 63 of file DWARFObject.h.

Referenced by llvm::DWARFUnitVector::addUnitsForDWOSection().

◆ getStrOffsetsDWOSection()

virtual const DWARFSection& llvm::DWARFObject::getStrOffsetsDWOSection ( ) const
inlinevirtual

Definition at line 64 of file DWARFObject.h.

Referenced by llvm::DWARFUnitVector::addUnitsForDWOSection().

◆ getStrOffsetsSection()

virtual const DWARFSection& llvm::DWARFObject::getStrOffsetsSection ( ) const
inlinevirtual

◆ getStrSection()

virtual StringRef llvm::DWARFObject::getStrSection ( ) const
inlinevirtual

◆ getTUIndexSection()

virtual StringRef llvm::DWARFObject::getTUIndexSection ( ) const
inlinevirtual

Definition at line 79 of file DWARFObject.h.

References find().

◆ isLittleEndian()

virtual bool llvm::DWARFObject::isLittleEndian ( ) const
pure virtual

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