LLVM 22.0.0git
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:
[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 54 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 612 of file ObjectFile.h.

Member Function Documentation

◆ getObject()

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

◆ getOffset()

◆ getRawDataRefImpl()

◆ getSymbol()

◆ getType()

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

Referenced by llvm::RuntimeDyldCOFFAArch64::processRelocationRef(), llvm::RuntimeDyldCOFFI386::processRelocationRef(), and llvm::RuntimeDyldCOFFThumb::processRelocationRef().

◆ moveNext()

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

Definition at line 621 of file ObjectFile.h.

◆ operator==()

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

Definition at line 617 of file ObjectFile.h.

References llvm::Other, and RelocationRef().


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