LLVM API Documentation
#include <ObjectFile.h>
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 ObjectFile * | getObjectFile () const |
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.
llvm::object::RelocationRef::RelocationRef | ( | ) | [inline] |
Definition at line 43 of file ObjectFile.h.
llvm::object::RelocationRef::RelocationRef | ( | DataRefImpl | RelocationP, |
const ObjectFile * | Owner | ||
) | [inline] |
Definition at line 468 of file ObjectFile.h.
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().
const ObjectFile * llvm::object::RelocationRef::getObjectFile | ( | ) | const [inline] |
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().
DataRefImpl llvm::object::RelocationRef::getRawDataRefImpl | ( | ) | const [inline] |
Definition at line 511 of file ObjectFile.h.
Referenced by llvm::object::COFFObjectFile::getCOFFRelocation(), and llvm::object::getELFRelocationAddend().
symbol_iterator llvm::object::RelocationRef::getSymbol | ( | ) | const [inline] |
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().
void llvm::object::RelocationRef::moveNext | ( | ) | [inline] |
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.