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
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).
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
DataRefImpl getRawDataRefImpl () const

Friends

class SymbolRef

Detailed Description

SectionRef - This is a value type class that represents a single section in the list of sections in the object file.

Definition at line 136 of file ObjectFile.h.


Constructor & Destructor Documentation

llvm::object::SectionRef::SectionRef ( ) [inline]

Definition at line 142 of file ObjectFile.h.

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

SectionRef.

Definition at line 463 of file ObjectFile.h.


Member Function Documentation

relocation_iterator llvm::object::SectionRef::begin_relocations ( ) const [inline]
error_code llvm::object::SectionRef::containsSymbol ( SymbolRef  S,
bool Result 
) const [inline]

Definition at line 528 of file ObjectFile.h.

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

relocation_iterator llvm::object::SectionRef::end_relocations ( ) const [inline]
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 496 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 476 of file ObjectFile.h.

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

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

Definition at line 541 of file ObjectFile.h.

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

Definition at line 508 of file ObjectFile.h.

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

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

Definition at line 504 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 500 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 472 of file ObjectFile.h.

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

Definition at line 468 of file ObjectFile.h.


Friends And Related Function Documentation

friend class SymbolRef [friend]

Definition at line 137 of file ObjectFile.h.


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