LLVM API Documentation

Public Member Functions | Friends
llvm::object::SectionRef Class Reference

#include <ObjectFile.h>

List of all members.

Public Member Functions

 SectionRef ()
 SectionRef (DataRefImpl SectionP, const ObjectFile *Owner)
 SectionRef.
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
std::error_code getAddress (uint64_t &Result) const
std::error_code getSize (uint64_t &Result) const
std::error_code getContents (StringRef &Result) const
std::error_code getAlignment (uint64_t &Result) const
 Get the alignment of this section as the actual value (not log 2).
std::error_code isText (bool &Result) const
std::error_code isData (bool &Result) const
std::error_code isBSS (bool &Result) const
std::error_code isRequiredForExecution (bool &Result) const
std::error_code isVirtual (bool &Result) const
std::error_code isZeroInit (bool &Result) const
std::error_code isReadOnlyData (bool &Result) const
std::error_code containsSymbol (SymbolRef S, bool &Result) const
relocation_iterator relocation_begin () const
relocation_iterator relocation_end () const
iterator_range
< relocation_iterator
relocations () const
section_iterator getRelocatedSection () const
DataRefImpl getRawDataRefImpl () const

Friends

class SymbolRef

Detailed Description

Definition at line 81 of file ObjectFile.h.


Constructor & Destructor Documentation

Definition at line 87 of file ObjectFile.h.

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

SectionRef.

Definition at line 376 of file ObjectFile.h.


Member Function Documentation

std::error_code llvm::object::SectionRef::containsSymbol ( SymbolRef  S,
bool Result 
) const [inline]
std::error_code llvm::object::SectionRef::getAddress ( uint64_t &  Result) const [inline]
std::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 413 of file ObjectFile.h.

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

Referenced by llvm::RuntimeDyldImpl::computeSectionStubBufSize(), llvm::RuntimeDyldImpl::computeTotalAllocSize(), and llvm::RuntimeDyldImpl::emitSection().

std::error_code llvm::object::SectionRef::getContents ( StringRef Result) const [inline]
std::error_code llvm::object::SectionRef::getName ( StringRef Result) const [inline]

Definition at line 459 of file ObjectFile.h.

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

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

Definition at line 425 of file ObjectFile.h.

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

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

Definition at line 421 of file ObjectFile.h.

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

std::error_code llvm::object::SectionRef::isReadOnlyData ( bool Result) const [inline]
std::error_code llvm::object::SectionRef::isRequiredForExecution ( bool Result) const [inline]
std::error_code llvm::object::SectionRef::isText ( bool Result) const [inline]
std::error_code llvm::object::SectionRef::isVirtual ( bool Result) const [inline]
std::error_code llvm::object::SectionRef::isZeroInit ( bool Result) const [inline]

Definition at line 393 of file ObjectFile.h.

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

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

Definition at line 385 of file ObjectFile.h.

bool llvm::object::SectionRef::operator< ( const SectionRef Other) const [inline]

Definition at line 389 of file ObjectFile.h.

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

Definition at line 381 of file ObjectFile.h.

Definition at line 451 of file ObjectFile.h.

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

Referenced by relocations().

Definition at line 455 of file ObjectFile.h.

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

Referenced by relocations().

Definition at line 118 of file ObjectFile.h.

References relocation_begin(), and relocation_end().


Friends And Related Function Documentation

friend class SymbolRef [friend]

Definition at line 82 of file ObjectFile.h.


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