LLVM API Documentation

Public Member Functions
llvm::object::RelocationRef Class Reference

#include <ObjectFile.h>

List of all members.

Public Member Functions

 RelocationRef ()
 RelocationRef (DataRefImpl RelocationP, const ObjectFile *Owner)
 RelocationRef.
bool operator== (const RelocationRef &Other) const
void moveNext ()
std::error_code getAddress (uint64_t &Result) const
std::error_code getOffset (uint64_t &Result) const
symbol_iterator getSymbol () const
std::error_code getType (uint64_t &Result) const
std::error_code getHidden (bool &Result) const
 Indicates whether this relocation should hidden when listing relocations, usually because it is the trailing part of a multipart relocation that will be printed as part of the leading relocation.
std::error_code getTypeName (SmallVectorImpl< char > &Result) const
 Get a string that represents the type of this relocation.
std::error_code getValueString (SmallVectorImpl< char > &Result) const
 Get a string that represents the calculation of the value of this relocation.
DataRefImpl getRawDataRefImpl () const
const ObjectFilegetObjectFile () const

Detailed Description

RelocationRef - This is a value type class that represents a single relocation in the list of relocations in the object file.

Definition at line 38 of file ObjectFile.h.


Constructor & Destructor Documentation

Definition at line 43 of file ObjectFile.h.

RelocationRef.

Definition at line 468 of file ObjectFile.h.


Member Function Documentation

std::error_code llvm::object::RelocationRef::getAddress ( uint64_t &  Result) const [inline]

Definition at line 481 of file ObjectFile.h.

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

std::error_code llvm::object::RelocationRef::getHidden ( bool Result) const [inline]

Indicates whether this relocation should hidden when listing relocations, usually because it is the trailing part of a multipart relocation that will be printed as part of the leading relocation.

Definition at line 507 of file ObjectFile.h.

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

Definition at line 515 of file ObjectFile.h.

Referenced by llvm::object::getELFRelocationAddend().

std::error_code llvm::object::RelocationRef::getOffset ( uint64_t &  Result) const [inline]

Definition at line 485 of file ObjectFile.h.

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

Definition at line 489 of file ObjectFile.h.

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

std::error_code llvm::object::RelocationRef::getType ( uint64_t &  Result) const [inline]

Definition at line 493 of file ObjectFile.h.

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

std::error_code 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 498 of file ObjectFile.h.

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

std::error_code llvm::object::RelocationRef::getValueString ( SmallVectorImpl< char > &  Result) const [inline]

Get a string that represents the calculation of the value of this relocation.

This is for display purposes only.

Definition at line 503 of file ObjectFile.h.

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

Definition at line 477 of file ObjectFile.h.

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

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

Definition at line 473 of file ObjectFile.h.


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