LLVM 22.0.0git
|
#include "llvm/Object/MachO.h"
Public Types | |
enum class | FixupKind { Bind , Rebase } |
Public Member Functions | |
LLVM_ABI | MachOChainedFixupEntry (Error *Err, const MachOObjectFile *O, bool Parse) |
LLVM_ABI bool | operator== (const MachOChainedFixupEntry &) const |
bool | isBind () const |
bool | isRebase () const |
LLVM_ABI void | moveNext () |
LLVM_ABI void | moveToFirst () |
LLVM_ABI void | moveToEnd () |
Public Member Functions inherited from llvm::object::MachOAbstractFixupEntry | |
LLVM_ABI | MachOAbstractFixupEntry (Error *Err, const MachOObjectFile *O) |
LLVM_ABI int32_t | segmentIndex () const |
LLVM_ABI uint64_t | segmentOffset () const |
LLVM_ABI uint64_t | segmentAddress () const |
LLVM_ABI StringRef | segmentName () const |
LLVM_ABI StringRef | sectionName () const |
LLVM_ABI StringRef | typeName () const |
LLVM_ABI StringRef | symbolName () const |
LLVM_ABI uint32_t | flags () const |
LLVM_ABI int64_t | addend () const |
LLVM_ABI int | ordinal () const |
LLVM_ABI uint64_t | address () const |
uint64_t | pointerValue () const |
uint64_t | rawValue () const |
LLVM_ABI void | moveNext () |
Additional Inherited Members | |
Protected Member Functions inherited from llvm::object::MachOAbstractFixupEntry | |
LLVM_ABI void | moveToFirst () |
LLVM_ABI void | moveToEnd () |
uint64_t | textAddress () const |
Protected Attributes inherited from llvm::object::MachOAbstractFixupEntry | |
Error * | E |
const MachOObjectFile * | O |
uint64_t | SegmentOffset = 0 |
int32_t | SegmentIndex = -1 |
StringRef | SymbolName |
int32_t | Ordinal = 0 |
uint32_t | Flags = 0 |
int64_t | Addend = 0 |
uint64_t | PointerValue = 0 |
uint64_t | RawValue = 0 |
bool | Done = false |
|
strong |
MachOChainedFixupEntry::MachOChainedFixupEntry | ( | Error * | Err, |
const MachOObjectFile * | O, | ||
bool | Parse ) |
Definition at line 3317 of file MachOObjectFile.cpp.
References llvm::object::MachOAbstractFixupEntry::E, llvm::object::MachOAbstractFixupEntry::MachOAbstractFixupEntry(), and llvm::object::MachOAbstractFixupEntry::O.
Referenced by operator==().
|
inline |
|
inline |
void MachOChainedFixupEntry::moveNext | ( | ) |
Definition at line 3379 of file MachOObjectFile.cpp.
References llvm::object::MachOAbstractFixupEntry::Addend, assert(), Bind, llvm::MachO::BIND_SYMBOL_FLAGS_WEAK_IMPORT, llvm::Count, llvm::object::createError(), llvm::object::MachOAbstractFixupEntry::Done, llvm::MachO::DYLD_CHAINED_PTR_64, llvm::MachO::DYLD_CHAINED_PTR_64_OFFSET, llvm::object::MachOAbstractFixupEntry::E, llvm::object::MachOAbstractFixupEntry::Flags, llvm::object::ChainedFixupsSegment::Header, llvm::sys::IsLittleEndianHost, malformedError(), moveToEnd(), llvm::Next, llvm::object::MachOAbstractFixupEntry::O, llvm::object::MachOAbstractFixupEntry::Ordinal, llvm::MachO::dyld_chained_starts_in_segment::page_size, llvm::MachO::dyld_chained_starts_in_segment::pointer_format, llvm::object::MachOAbstractFixupEntry::PointerValue, llvm::object::MachOAbstractFixupEntry::RawValue, Rebase, llvm::Right, llvm::object::ChainedFixupsSegment::SegIdx, llvm::object::MachOAbstractFixupEntry::SegmentIndex, llvm::object::MachOAbstractFixupEntry::SegmentOffset, llvm::sys::swapByteOrder(), llvm::object::MachOAbstractFixupEntry::SymbolName, and llvm::object::MachOAbstractFixupEntry::textAddress().
Referenced by moveToFirst().
void MachOChainedFixupEntry::moveToEnd | ( | ) |
Definition at line 3375 of file MachOObjectFile.cpp.
References llvm::object::MachOAbstractFixupEntry::moveToEnd().
Referenced by llvm::object::MachOObjectFile::fixupTable(), and moveNext().
void MachOChainedFixupEntry::moveToFirst | ( | ) |
Definition at line 3361 of file MachOObjectFile.cpp.
References llvm::object::MachOAbstractFixupEntry::Done, moveNext(), and llvm::object::MachOAbstractFixupEntry::moveToFirst().
bool MachOChainedFixupEntry::operator== | ( | const MachOChainedFixupEntry & | Other | ) | const |
Definition at line 3469 of file MachOObjectFile.cpp.
References llvm::object::MachOAbstractFixupEntry::Done, MachOChainedFixupEntry(), and llvm::Other.