|
LLVM
3.7.0
|
MachOBindEntry encapsulates the current state in the decompression of binding opcodes. More...
#include <MachO.h>
Public Types | |
| enum | Kind { Kind::Regular, Kind::Lazy, Kind::Weak } |
Public Member Functions | |
| MachOBindEntry (ArrayRef< uint8_t > Opcodes, bool is64Bit, MachOBindEntry::Kind) | |
| uint32_t | segmentIndex () const |
| uint64_t | segmentOffset () const |
| StringRef | typeName () const |
| StringRef | symbolName () const |
| uint32_t | flags () const |
| int64_t | addend () const |
| int | ordinal () const |
| bool | operator== (const MachOBindEntry &) const |
| void | moveNext () |
Friends | |
| class | MachOObjectFile |
MachOBindEntry encapsulates the current state in the decompression of binding opcodes.
This allows you to iterate through the compressed table of bindings using: for (const llvm::object::MachOBindEntry &Entry : Obj->bindTable()) { }
Definition at line 144 of file Object/MachO.h.
|
strong |
| Enumerator | |
|---|---|
| Regular | |
| Lazy | |
| Weak | |
Definition at line 146 of file Object/MachO.h.
| MachOBindEntry::MachOBindEntry | ( | ArrayRef< uint8_t > | Opcodes, |
| bool | is64Bit, | ||
| MachOBindEntry::Kind | BK | ||
| ) |
Definition at line 1567 of file MachOObjectFile.cpp.
| int64_t MachOBindEntry::addend | ( | ) | const |
Definition at line 1791 of file MachOObjectFile.cpp.
| uint32_t MachOBindEntry::flags | ( | ) | const |
Definition at line 1793 of file MachOObjectFile.cpp.
| void MachOBindEntry::moveNext | ( | ) |
Definition at line 1585 of file MachOObjectFile.cpp.
References llvm::MachO::BIND_IMMEDIATE_MASK, llvm::MachO::BIND_OPCODE_ADD_ADDR_ULEB, llvm::MachO::BIND_OPCODE_DO_BIND, llvm::MachO::BIND_OPCODE_DO_BIND_ADD_ADDR_IMM_SCALED, llvm::MachO::BIND_OPCODE_DO_BIND_ADD_ADDR_ULEB, llvm::MachO::BIND_OPCODE_DO_BIND_ULEB_TIMES_SKIPPING_ULEB, llvm::MachO::BIND_OPCODE_DONE, llvm::MachO::BIND_OPCODE_MASK, llvm::MachO::BIND_OPCODE_SET_ADDEND_SLEB, llvm::MachO::BIND_OPCODE_SET_DYLIB_ORDINAL_IMM, llvm::MachO::BIND_OPCODE_SET_DYLIB_ORDINAL_ULEB, llvm::MachO::BIND_OPCODE_SET_DYLIB_SPECIAL_IMM, llvm::MachO::BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB, llvm::MachO::BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM, llvm::MachO::BIND_OPCODE_SET_TYPE_IMM, llvm::MachO::BIND_SYMBOL_FLAGS_NON_WEAK_DEFINITION, llvm::dbgs(), DEBUG_WITH_TYPE, llvm::ArrayRef< T >::end(), llvm::format(), Lazy, P, and Weak.
| bool MachOBindEntry::operator== | ( | const MachOBindEntry & | Other | ) | const |
Definition at line 1797 of file MachOObjectFile.cpp.
| int MachOBindEntry::ordinal | ( | ) | const |
Definition at line 1795 of file MachOObjectFile.cpp.
| uint32_t MachOBindEntry::segmentIndex | ( | ) | const |
Definition at line 1773 of file MachOObjectFile.cpp.
| uint64_t MachOBindEntry::segmentOffset | ( | ) | const |
Definition at line 1775 of file MachOObjectFile.cpp.
| StringRef MachOBindEntry::symbolName | ( | ) | const |
Definition at line 1789 of file MachOObjectFile.cpp.
| StringRef MachOBindEntry::typeName | ( | ) | const |
Definition at line 1777 of file MachOObjectFile.cpp.
References llvm::MachO::BIND_TYPE_POINTER, llvm::MachO::BIND_TYPE_TEXT_ABSOLUTE32, and llvm::MachO::BIND_TYPE_TEXT_PCREL32.
|
friend |
Definition at line 163 of file Object/MachO.h.
1.8.6