LLVM 22.0.0git
llvm::object::ELFRelocationRef Class Reference

#include "llvm/Object/ELFObjectFile.h"

Inheritance diagram for llvm::object::ELFRelocationRef:
[legend]

Public Member Functions

 ELFRelocationRef (const RelocationRef &B)
const ELFObjectFileBasegetObject () const
Expected< int64_t > getAddend () const
Public Member Functions inherited from llvm::object::RelocationRef
 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

Definition at line 231 of file ELFObjectFile.h.

Constructor & Destructor Documentation

◆ ELFRelocationRef()

llvm::object::ELFRelocationRef::ELFRelocationRef ( const RelocationRef & B)
inline

Member Function Documentation

◆ getAddend()

Expected< int64_t > llvm::object::ELFRelocationRef::getAddend ( ) const
inline

◆ getObject()

const ELFObjectFileBase * llvm::object::ELFRelocationRef::getObject ( ) const
inline

Definition at line 237 of file ELFObjectFile.h.

References llvm::cast(), and llvm::object::RelocationRef::getObject().

Referenced by getAddend().


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