LLVM  8.0.1
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 getARangeSection () const
 
virtual StringRef getDebugFrameSection () const
 
virtual StringRef getEHFrameSection () const
 
virtual const DWARFSectiongetLineSection () const
 
virtual StringRef getLineStringSection () const
 
virtual StringRef getStringSection () const
 
virtual const DWARFSectiongetRangeSection () 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 DWARFSectiongetStringOffsetSection () 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 getStringDWOSection () const
 
virtual const DWARFSectiongetStringOffsetDWOSection () const
 
virtual const DWARFSectiongetRangeDWOSection () const
 
virtual const DWARFSectiongetRnglistsDWOSection () const
 
virtual const DWARFSectiongetAddrSection () const
 
virtual const DWARFSectiongetAppleNamesSection () const
 
virtual const DWARFSectiongetAppleTypesSection () const
 
virtual const DWARFSectiongetAppleNamespacesSection () const
 
virtual const DWARFSectiongetDebugNamesSection () 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 26 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

◆ forEachInfoDWOSections()

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

Definition at line 58 of file DWARFObject.h.

◆ 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 60 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 61 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

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

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

◆ getAppleNamesSection()

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

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

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

◆ getARangeSection()

virtual StringRef llvm::DWARFObject::getARangeSection ( ) 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 78 of file DWARFObject.h.

◆ getDebugFrameSection()

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

Definition at line 44 of file DWARFObject.h.

◆ getDebugNamesSection()

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

Definition at line 76 of file DWARFObject.h.

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

◆ getEHFrameSection()

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

Definition at line 45 of file DWARFObject.h.

◆ getFile()

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

Definition at line 32 of file DWARFObject.h.

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

◆ getFileName()

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

Definition at line 31 of file DWARFObject.h.

References llvm_unreachable.

◆ getGdbIndexSection()

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

Definition at line 79 of file DWARFObject.h.

◆ getGnuPubNamesSection()

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

Definition at line 54 of file DWARFObject.h.

◆ getGnuPubTypesSection()

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

Definition at line 55 of file DWARFObject.h.

◆ getLineDWOSection()

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

Definition at line 62 of file DWARFObject.h.

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

◆ getLineSection()

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

◆ getLineStringSection()

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

Definition at line 47 of file DWARFObject.h.

◆ getLocDWOSection()

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

Definition at line 63 of file DWARFObject.h.

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

◆ getLoclistsSection()

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

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

◆ getPubNamesSection()

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

Definition at line 52 of file DWARFObject.h.

◆ getPubTypesSection()

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

Definition at line 53 of file DWARFObject.h.

◆ getRangeDWOSection()

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

Definition at line 68 of file DWARFObject.h.

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

◆ getRangeSection()

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

◆ getRnglistsDWOSection()

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

Definition at line 69 of file DWARFObject.h.

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

◆ getRnglistsSection()

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

Definition at line 50 of file DWARFObject.h.

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

◆ getSectionNames()

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

Definition at line 33 of file DWARFObject.h.

References isLittleEndian().

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

◆ getStringDWOSection()

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

Definition at line 64 of file DWARFObject.h.

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

◆ getStringOffsetDWOSection()

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

Definition at line 65 of file DWARFObject.h.

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

◆ getStringOffsetSection()

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

◆ getStringSection()

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

◆ getTUIndexSection()

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

Definition at line 80 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: