LLVM 20.0.0git
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.
 
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.
 
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

References operator==().

◆ RelocationRef() [2/2]

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

RelocationRef.

Definition at line 607 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

Definition at line 620 of file ObjectFile.h.

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

◆ getRawDataRefImpl()

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

◆ getSymbol()

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

Definition at line 624 of file ObjectFile.h.

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

Referenced by getSymbolInfo().

◆ getType()

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

Definition at line 628 of file ObjectFile.h.

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

◆ 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 632 of file ObjectFile.h.

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

◆ moveNext()

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

Definition at line 616 of file ObjectFile.h.

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

◆ operator==()

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

Definition at line 612 of file ObjectFile.h.

References llvm::Other.

Referenced by RelocationRef().


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