LLVM API Documentation
#include <ObjectFile.h>
Public Member Functions | |
| RelocationRef () | |
| RelocationRef (DataRefImpl RelocationP, const ObjectFile *Owner) | |
| RelocationRef. | |
| bool | operator== (const RelocationRef &Other) const |
| error_code | getNext (RelocationRef &Result) const |
| error_code | getAddress (uint64_t &Result) const |
| error_code | getOffset (uint64_t &Result) const |
| symbol_iterator | getSymbol () const |
| error_code | getType (uint64_t &Result) const |
| 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. | |
| error_code | getTypeName (SmallVectorImpl< char > &Result) const |
| Get a string that represents the type of this relocation. | |
| 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 92 of file ObjectFile.h.
| llvm::object::RelocationRef::RelocationRef | ( | ) | [inline] |
Definition at line 97 of file ObjectFile.h.
| llvm::object::RelocationRef::RelocationRef | ( | DataRefImpl | RelocationP, |
| const ObjectFile * | Owner | ||
| ) | [inline] |
Definition at line 547 of file ObjectFile.h.
| error_code llvm::object::RelocationRef::getAddress | ( | uint64_t & | Result | ) | const [inline] |
Definition at line 560 of file ObjectFile.h.
References llvm::object::ObjectFile::getRelocationAddress().
| 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 586 of file ObjectFile.h.
References llvm::object::ObjectFile::getRelocationHidden().
| error_code llvm::object::RelocationRef::getNext | ( | RelocationRef & | Result | ) | const [inline] |
Definition at line 556 of file ObjectFile.h.
References llvm::object::ObjectFile::getRelocationNext().
| const ObjectFile * llvm::object::RelocationRef::getObjectFile | ( | ) | const [inline] |
Definition at line 594 of file ObjectFile.h.
Referenced by llvm::object::getELFRelocationAddend().
| error_code llvm::object::RelocationRef::getOffset | ( | uint64_t & | Result | ) | const [inline] |
Definition at line 564 of file ObjectFile.h.
References llvm::object::ObjectFile::getRelocationOffset().
Referenced by llvm::RuntimeDyldMachO::processRelocationRef(), and llvm::RuntimeDyldELF::processRelocationRef().
| DataRefImpl llvm::object::RelocationRef::getRawDataRefImpl | ( | ) | const [inline] |
Definition at line 590 of file ObjectFile.h.
Referenced by llvm::object::getELFRelocationAddend(), and llvm::RuntimeDyldMachO::processRelocationRef().
| symbol_iterator llvm::object::RelocationRef::getSymbol | ( | ) | const [inline] |
Definition at line 568 of file ObjectFile.h.
References llvm::object::ObjectFile::getRelocationSymbol().
Referenced by llvm::RuntimeDyldMachO::processRelocationRef(), and llvm::RuntimeDyldELF::processRelocationRef().
| error_code llvm::object::RelocationRef::getType | ( | uint64_t & | Result | ) | const [inline] |
Definition at line 572 of file ObjectFile.h.
References llvm::object::ObjectFile::getRelocationType().
Referenced by llvm::RuntimeDyldELF::processRelocationRef().
| 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 576 of file ObjectFile.h.
References llvm::object::ObjectFile::getRelocationTypeName().
| 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 581 of file ObjectFile.h.
References llvm::object::ObjectFile::getRelocationValueString().
| bool llvm::object::RelocationRef::operator== | ( | const RelocationRef & | Other | ) | const [inline] |
Definition at line 552 of file ObjectFile.h.