LLVM 20.0.0git
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 const DWARFSectiongetMacroSection () const
 
virtual StringRef getMacroDWOSection () const
 
virtual StringRef getMacinfoSection () const
 
virtual StringRef getMacinfoDWOSection () 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 const DWARFSectiongetLoclistsDWOSection () 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 std::optional< RelocAddrEntryfind (const DWARFSection &Sec, uint64_t Pos) const =0
 

Detailed Description

Definition at line 26 of file DWARFObject.h.

Constructor & Destructor Documentation

◆ ~DWARFObject()

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

Member Function Documentation

◆ find()

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

◆ forEachInfoDWOSections()

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

Definition at line 61 of file DWARFObject.h.

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

◆ forEachInfoSections()

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

Definition at line 37 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 63 of file DWARFObject.h.

◆ forEachTypesSections()

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

Definition at line 39 of file DWARFObject.h.

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

◆ getAbbrevDWOSection()

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

Definition at line 64 of file DWARFObject.h.

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

◆ getAbbrevSection()

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

Definition at line 40 of file DWARFObject.h.

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

◆ getAddressSize()

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

◆ getAddrSection()

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

Definition at line 74 of file DWARFObject.h.

◆ getAppleNamespacesSection()

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

Definition at line 77 of file DWARFObject.h.

◆ getAppleNamesSection()

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

Definition at line 75 of file DWARFObject.h.

◆ getAppleObjCSection()

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

Definition at line 81 of file DWARFObject.h.

◆ getAppleTypesSection()

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

Definition at line 76 of file DWARFObject.h.

◆ getArangesSection()

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

Definition at line 43 of file DWARFObject.h.

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

◆ getCUIndexSection()

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

Definition at line 82 of file DWARFObject.h.

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

◆ getEHFrameSection()

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

Definition at line 45 of file DWARFObject.h.

◆ getFile()

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

◆ getFileName()

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

◆ getFrameSection()

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

◆ getGdbIndexSection()

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

Definition at line 83 of file DWARFObject.h.

◆ getGnuPubnamesSection()

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

Definition at line 57 of file DWARFObject.h.

◆ getGnuPubtypesSection()

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

Definition at line 58 of file DWARFObject.h.

◆ getLineDWOSection()

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

Definition at line 65 of file DWARFObject.h.

◆ getLineSection()

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

Definition at line 46 of file DWARFObject.h.

◆ getLineStrSection()

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

Definition at line 47 of file DWARFObject.h.

◆ getLocDWOSection()

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

Definition at line 66 of file DWARFObject.h.

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

◆ getLoclistsDWOSection()

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

Definition at line 67 of file DWARFObject.h.

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

◆ getLoclistsSection()

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

Definition at line 42 of file DWARFObject.h.

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

◆ getLocSection()

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

Definition at line 41 of file DWARFObject.h.

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

◆ getMacinfoDWOSection()

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

◆ getMacinfoSection()

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

◆ getMacroDWOSection()

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

◆ getMacroSection()

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

◆ getNamesSection()

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

Definition at line 80 of file DWARFObject.h.

◆ getPubnamesSection()

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

Definition at line 55 of file DWARFObject.h.

◆ getPubtypesSection()

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

Definition at line 56 of file DWARFObject.h.

◆ getRangesDWOSection()

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

Definition at line 72 of file DWARFObject.h.

◆ getRangesSection()

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

Definition at line 49 of file DWARFObject.h.

◆ getRnglistsDWOSection()

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

Definition at line 73 of file DWARFObject.h.

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

◆ getRnglistsSection()

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

Definition at line 50 of file DWARFObject.h.

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

◆ getSectionNames()

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

Definition at line 33 of file DWARFObject.h.

Referenced by llvm::DWARFFormValue::dumpAddressSection().

◆ getStrDWOSection()

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

Definition at line 68 of file DWARFObject.h.

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

◆ getStrOffsetsDWOSection()

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

Definition at line 69 of file DWARFObject.h.

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

◆ getStrOffsetsSection()

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

Definition at line 59 of file DWARFObject.h.

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

◆ getStrSection()

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

Definition at line 48 of file DWARFObject.h.

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

◆ getTUIndexSection()

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

Definition at line 84 of file DWARFObject.h.

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

◆ isLittleEndian()

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

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