LLVM  6.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 const DWARFSectiongetInfoSection () const
 
virtual void forEachTypesSections (function_ref< void(const DWARFSection &)> F) const
 
virtual StringRef getAbbrevSection () const
 
virtual const DWARFSectiongetLocSection () const
 
virtual StringRef getARangeSection () const
 
virtual StringRef getDebugFrameSection () const
 
virtual StringRef getEHFrameSection () const
 
virtual const DWARFSectiongetLineSection () const
 
virtual StringRef getStringSection () const
 
virtual const DWARFSectiongetRangeSection () const
 
virtual StringRef getMacinfoSection () const
 
virtual StringRef getPubNamesSection () const
 
virtual StringRef getPubTypesSection () const
 
virtual StringRef getGnuPubNamesSection () const
 
virtual StringRef getGnuPubTypesSection () const
 
virtual const DWARFSectiongetStringOffsetSection () const
 
virtual const DWARFSectiongetInfoDWOSection () 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 DWARFSectiongetAddrSection () const
 
virtual const DWARFSectiongetAppleNamesSection () const
 
virtual const DWARFSectiongetAppleTypesSection () const
 
virtual const DWARFSectiongetAppleNamespacesSection () 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

◆ forEachTypesDWOSections()

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

Definition at line 54 of file DWARFObject.h.

◆ forEachTypesSections()

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

Definition at line 37 of file DWARFObject.h.

◆ getAbbrevDWOSection()

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

Definition at line 55 of file DWARFObject.h.

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

◆ getAbbrevSection()

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

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

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

◆ getAppleNamesSection()

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

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

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

◆ getARangeSection()

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

Definition at line 40 of file DWARFObject.h.

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

◆ getCUIndexSection()

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

Definition at line 70 of file DWARFObject.h.

◆ getDebugFrameSection()

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

Definition at line 41 of file DWARFObject.h.

◆ getEHFrameSection()

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

Definition at line 42 of file DWARFObject.h.

◆ getFile()

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

Definition at line 31 of file DWARFObject.h.

◆ getFileName()

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

Definition at line 30 of file DWARFObject.h.

References llvm_unreachable.

◆ getGdbIndexSection()

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

Definition at line 71 of file DWARFObject.h.

◆ getGnuPubNamesSection()

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

Definition at line 49 of file DWARFObject.h.

◆ getGnuPubTypesSection()

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

Definition at line 50 of file DWARFObject.h.

◆ getInfoDWOSection()

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

Definition at line 52 of file DWARFObject.h.

◆ getInfoSection()

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

Definition at line 35 of file DWARFObject.h.

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

◆ getLineDWOSection()

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

Definition at line 56 of file DWARFObject.h.

Referenced by llvm::DWARFUnitSectionBase::parseDWO().

◆ getLineSection()

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

◆ getLocDWOSection()

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

Definition at line 57 of file DWARFObject.h.

Referenced by dumpLocation().

◆ getLocSection()

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

Definition at line 39 of file DWARFObject.h.

Referenced by dumpLocation().

◆ getMacinfoSection()

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

Definition at line 46 of file DWARFObject.h.

◆ getPubNamesSection()

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

Definition at line 47 of file DWARFObject.h.

◆ getPubTypesSection()

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

Definition at line 48 of file DWARFObject.h.

◆ getRangeDWOSection()

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

Definition at line 62 of file DWARFObject.h.

Referenced by llvm::DWARFUnitSectionBase::parseDWO().

◆ getRangeSection()

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

◆ getSectionNames()

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

Definition at line 32 of file DWARFObject.h.

References isLittleEndian().

Referenced by dumpRanges().

◆ getStringDWOSection()

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

Definition at line 58 of file DWARFObject.h.

Referenced by llvm::DWARFUnitSectionBase::parseDWO().

◆ getStringOffsetDWOSection()

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

Definition at line 59 of file DWARFObject.h.

Referenced by llvm::DWARFUnitSectionBase::parseDWO().

◆ 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 72 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: