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

This is a value type class that represents a single relocation in the list of relocations in the object file. More...

#include "llvm/Object/ObjectFile.h"

Inheritance diagram for llvm::object::RelocationRef:
Inheritance graph
[legend]

Public Member Functions

 RelocationRef ()=default
 
 RelocationRef (DataRefImpl RelocationP, const ObjectFile *Owner)
 RelocationRef. More...
 
bool operator== (const RelocationRef &Other) const
 
void moveNext ()
 
uint64_t getOffset () const
 
symbol_iterator getSymbol () const
 
uint64_t getType () const
 
void getTypeName (SmallVectorImpl< char > &Result) const
 Get a string that represents the type of this relocation. More...
 
DataRefImpl getRawDataRefImpl () const
 
const ObjectFilegetObject () const
 

Detailed Description

This is a value type class that represents a single relocation in the list of relocations in the object file.

Definition at line 52 of file ObjectFile.h.

Constructor & Destructor Documentation

◆ RelocationRef() [1/2]

llvm::object::RelocationRef::RelocationRef ( )
default

◆ RelocationRef() [2/2]

llvm::object::RelocationRef::RelocationRef ( DataRefImpl  RelocationP,
const ObjectFile Owner 
)
inline

RelocationRef.

Definition at line 472 of file ObjectFile.h.

Member Function Documentation

◆ getObject()

const ObjectFile * llvm::object::RelocationRef::getObject ( ) const
inline

◆ getOffset()

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

◆ getRawDataRefImpl()

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

◆ getSymbol()

symbol_iterator llvm::object::RelocationRef::getSymbol ( ) const
inline

Definition at line 489 of file ObjectFile.h.

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

◆ getType()

uint64_t llvm::object::RelocationRef::getType ( ) const
inline

◆ getTypeName()

void llvm::object::RelocationRef::getTypeName ( SmallVectorImpl< char > &  Result) const
inline

Get a string that represents the type of this relocation.

This is for display purposes only.

Definition at line 497 of file ObjectFile.h.

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

◆ moveNext()

void llvm::object::RelocationRef::moveNext ( )
inline

Definition at line 481 of file ObjectFile.h.

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

◆ operator==()

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

Definition at line 477 of file ObjectFile.h.


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