class RelocationRef
Declaration
class RelocationRef { /* full declaration omitted */ };
Description
This is a value type class that represents a single relocation in the list of relocations in the object file.
Declared at: llvm/include/llvm/Object/ObjectFile.h:51
Member Variables
- private llvm::object::DataRefImpl RelocationPimpl
- private const llvm::object::ObjectFile* OwningObject = nullptr
Method Overview
- public RelocationRef()
- public RelocationRef(llvm::object::DataRefImpl RelocationP, const llvm::object::ObjectFile * Owner)
- public const llvm::object::ObjectFile * getObject() const
- public uint64_t getOffset() const
- public llvm::object::DataRefImpl getRawDataRefImpl() const
- public llvm::object::symbol_iterator getSymbol() const
- public uint64_t getType() const
- public void getTypeName(SmallVectorImpl<char> & Result) const
- public void moveNext()
Methods
¶RelocationRef()
RelocationRef()
Declared at: llvm/include/llvm/Object/ObjectFile.h:56
¶RelocationRef(
llvm::object::DataRefImpl RelocationP,
const llvm::object::ObjectFile* Owner)
RelocationRef(
llvm::object::DataRefImpl RelocationP,
const llvm::object::ObjectFile* Owner)
Description
RelocationRef
Declared at: llvm/include/llvm/Object/ObjectFile.h:57
Parameters
- llvm::object::DataRefImpl RelocationP
- const llvm::object::ObjectFile* Owner
¶const llvm::object::ObjectFile* getObject() const
const llvm::object::ObjectFile* getObject() const
Declared at: llvm/include/llvm/Object/ObjectFile.h:73
¶uint64_t getOffset() const
uint64_t getOffset() const
Declared at: llvm/include/llvm/Object/ObjectFile.h:63
¶llvm::object::DataRefImpl getRawDataRefImpl()
const
llvm::object::DataRefImpl getRawDataRefImpl()
const
Declared at: llvm/include/llvm/Object/ObjectFile.h:72
¶llvm::object::symbol_iterator getSymbol() const
llvm::object::symbol_iterator getSymbol() const
Declared at: llvm/include/llvm/Object/ObjectFile.h:64
¶uint64_t getType() const
uint64_t getType() const
Declared at: llvm/include/llvm/Object/ObjectFile.h:65
¶void getTypeName(
SmallVectorImpl<char>& Result) const
void getTypeName(
SmallVectorImpl<char>& Result) const
Description
Get a string that represents the type of this relocation. This is for display purposes only.
Declared at: llvm/include/llvm/Object/ObjectFile.h:70
Parameters
- SmallVectorImpl<char>& Result
¶void moveNext()
void moveNext()
Declared at: llvm/include/llvm/Object/ObjectFile.h:61