LLVM 19.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

◆ RelocationRef() [2/2]

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

RelocationRef.

Definition at line 606 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 619 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 623 of file ObjectFile.h.

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

Referenced by getSymbolInfo().

◆ getType()

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

Definition at line 627 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 631 of file ObjectFile.h.

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

◆ moveNext()

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

Definition at line 615 of file ObjectFile.h.

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

◆ operator==()

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

Definition at line 611 of file ObjectFile.h.

References llvm::Other.


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