LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Friends | List of all members
llvm::object::SectionRef Class Reference

#include <ObjectFile.h>

Public Member Functions

 SectionRef ()
 
 SectionRef (DataRefImpl SectionP, const ObjectFile *Owner)
 SectionRef. More...
 
bool operator== (const SectionRef &Other) const
 
bool operator< (const SectionRef &Other) const
 
error_code getNext (SectionRef &Result) const
 
error_code getName (StringRef &Result) const
 
error_code getAddress (uint64_t &Result) const
 
error_code getSize (uint64_t &Result) const
 
error_code getContents (StringRef &Result) const
 
error_code getAlignment (uint64_t &Result) const
 Get the alignment of this section as the actual value (not log 2). More...
 
error_code isText (bool &Result) const
 
error_code isData (bool &Result) const
 
error_code isBSS (bool &Result) const
 
error_code isRequiredForExecution (bool &Result) const
 
error_code isVirtual (bool &Result) const
 
error_code isZeroInit (bool &Result) const
 
error_code isReadOnlyData (bool &Result) const
 
error_code containsSymbol (SymbolRef S, bool &Result) const
 
relocation_iterator begin_relocations () const
 
relocation_iterator end_relocations () const
 
section_iterator getRelocatedSection () const
 
DataRefImpl getRawDataRefImpl () const
 

Friends

class SymbolRef
 

Detailed Description

Definition at line 135 of file ObjectFile.h.

Constructor & Destructor Documentation

llvm::object::SectionRef::SectionRef ( )
inline

Definition at line 141 of file ObjectFile.h.

llvm::object::SectionRef::SectionRef ( DataRefImpl  SectionP,
const ObjectFile Owner 
)
inline

SectionRef.

Definition at line 451 of file ObjectFile.h.

Member Function Documentation

relocation_iterator llvm::object::SectionRef::begin_relocations ( ) const
inline

Definition at line 521 of file ObjectFile.h.

References llvm::object::ObjectFile::section_rel_begin().

error_code llvm::object::SectionRef::containsSymbol ( SymbolRef  S,
bool Result 
) const
inline

Definition at line 516 of file ObjectFile.h.

References llvm::object::ObjectFile::sectionContainsSymbol().

relocation_iterator llvm::object::SectionRef::end_relocations ( ) const
inline

Definition at line 525 of file ObjectFile.h.

References llvm::object::ObjectFile::section_rel_end().

error_code llvm::object::SectionRef::getAddress ( uint64_t &  Result) const
inline
error_code llvm::object::SectionRef::getAlignment ( uint64_t &  Result) const
inline

Get the alignment of this section as the actual value (not log 2).

Definition at line 484 of file ObjectFile.h.

References llvm::object::ObjectFile::getSectionAlignment().

Referenced by llvm::RuntimeDyldImpl::emitSection().

error_code llvm::object::SectionRef::getContents ( StringRef Result) const
inline
error_code llvm::object::SectionRef::getName ( StringRef Result) const
inline
error_code llvm::object::SectionRef::getNext ( SectionRef Result) const
inline

Definition at line 464 of file ObjectFile.h.

References llvm::object::ObjectFile::getSectionNext().

DataRefImpl llvm::object::SectionRef::getRawDataRefImpl ( ) const
inline

Definition at line 533 of file ObjectFile.h.

section_iterator llvm::object::SectionRef::getRelocatedSection ( ) const
inline

Definition at line 529 of file ObjectFile.h.

References llvm::object::ObjectFile::getRelocatedSection().

error_code llvm::object::SectionRef::getSize ( uint64_t &  Result) const
inline
error_code llvm::object::SectionRef::isBSS ( bool Result) const
inline

Definition at line 496 of file ObjectFile.h.

References llvm::object::ObjectFile::isSectionBSS().

error_code llvm::object::SectionRef::isData ( bool Result) const
inline

Definition at line 492 of file ObjectFile.h.

References llvm::object::ObjectFile::isSectionData().

error_code llvm::object::SectionRef::isReadOnlyData ( bool Result) const
inline
error_code llvm::object::SectionRef::isRequiredForExecution ( bool Result) const
inline
error_code llvm::object::SectionRef::isText ( bool Result) const
inline

Definition at line 488 of file ObjectFile.h.

References llvm::object::ObjectFile::isSectionText().

error_code llvm::object::SectionRef::isVirtual ( bool Result) const
inline
error_code llvm::object::SectionRef::isZeroInit ( bool Result) const
inline
bool llvm::object::SectionRef::operator< ( const SectionRef Other) const
inline

Definition at line 460 of file ObjectFile.h.

bool llvm::object::SectionRef::operator== ( const SectionRef Other) const
inline

Definition at line 456 of file ObjectFile.h.

Friends And Related Function Documentation

friend class SymbolRef
friend

Definition at line 136 of file ObjectFile.h.


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