LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::object::ELFSectionRef Class Reference

#include "llvm/Object/ELFObjectFile.h"

Inheritance diagram for llvm::object::ELFSectionRef:
Inheritance graph
[legend]
Collaboration diagram for llvm::object::ELFSectionRef:
Collaboration graph
[legend]

Public Member Functions

 ELFSectionRef (const SectionRef &B)
 
const ELFObjectFileBasegetObject () const
 
uint32_t getType () const
 
uint64_t getFlags () const
 
uint64_t getOffset () const
 
- Public Member Functions inherited from llvm::object::SectionRef
 SectionRef ()=default
 
 SectionRef (DataRefImpl SectionP, const ObjectFile *Owner)
 SectionRef. More...
 
bool operator== (const SectionRef &Other) const
 
bool operator!= (const SectionRef &Other) const
 
bool operator< (const SectionRef &Other) const
 
void moveNext ()
 
std::error_code getName (StringRef &Result) const
 
uint64_t getAddress () const
 
uint64_t getIndex () const
 
uint64_t getSize () const
 
std::error_code getContents (StringRef &Result) const
 
uint64_t getAlignment () const
 Get the alignment of this section as the actual value (not log 2). More...
 
bool isCompressed () const
 
bool isText () const
 
bool isData () const
 
bool isBSS () const
 
bool isVirtual () const
 
bool isBitcode () const
 
bool isStripped () const
 
bool containsSymbol (SymbolRef S) const
 
relocation_iterator relocation_begin () const
 
relocation_iterator relocation_end () const
 
iterator_range< relocation_iteratorrelocations () const
 
section_iterator getRelocatedSection () const
 
DataRefImpl getRawDataRefImpl () const
 
const ObjectFilegetObject () const
 

Detailed Description

Definition at line 83 of file ELFObjectFile.h.

Constructor & Destructor Documentation

◆ ELFSectionRef()

llvm::object::ELFSectionRef::ELFSectionRef ( const SectionRef B)
inline

Definition at line 85 of file ELFObjectFile.h.

References assert(), and llvm::object::SectionRef::getObject().

Member Function Documentation

◆ getFlags()

uint64_t llvm::object::ELFSectionRef::getFlags ( ) const
inline

Definition at line 97 of file ELFObjectFile.h.

References getObject().

Referenced by llvm::isReadOnlyData(), and llvm::isRequiredForExecution().

◆ getObject()

const ELFObjectFileBase* llvm::object::ELFSectionRef::getObject ( ) const
inline

Definition at line 89 of file ELFObjectFile.h.

References llvm::object::SectionRef::getObject().

◆ getOffset()

uint64_t llvm::object::ELFSectionRef::getOffset ( ) const
inline

Definition at line 101 of file ELFObjectFile.h.

References getObject().

◆ getType()

uint32_t llvm::object::ELFSectionRef::getType ( ) const
inline

Definition at line 93 of file ELFObjectFile.h.

References getObject().

Referenced by llvm::isZeroInit().


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