LLVM 20.0.0git
|
#include "ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h"
Public Types | |
typedef uint64_t | TargetPtrT |
Definition at line 19 of file RuntimeDyldMachOAArch64.h.
Definition at line 23 of file RuntimeDyldMachOAArch64.h.
|
inline |
Definition at line 25 of file RuntimeDyldMachOAArch64.h.
|
inline |
Extract the addend encoded in the instruction / memory location.
Definition at line 34 of file RuntimeDyldMachOAArch64.h.
References llvm::MachO::ARM64_RELOC_BRANCH26, llvm::MachO::ARM64_RELOC_GOT_LOAD_PAGE21, llvm::MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12, llvm::MachO::ARM64_RELOC_PAGE21, llvm::MachO::ARM64_RELOC_PAGEOFF12, llvm::MachO::ARM64_RELOC_POINTER_TO_GOT, llvm::MachO::ARM64_RELOC_UNSIGNED, assert(), llvm::inconvertibleErrorCode(), llvm_unreachable, llvm::RelocationEntry::Offset, llvm::RelocationEntry::RelType, llvm::RelocationEntry::SectionID, llvm::RuntimeDyldImpl::Sections, llvm::SignExtend64(), and llvm::RelocationEntry::Size.
Referenced by processRelocationRef().
|
inline |
Extract the addend encoded in the instruction.
Definition at line 155 of file RuntimeDyldMachOAArch64.h.
References llvm::MachO::ARM64_RELOC_BRANCH26, llvm::MachO::ARM64_RELOC_GOT_LOAD_PAGE21, llvm::MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12, llvm::MachO::ARM64_RELOC_PAGE21, llvm::MachO::ARM64_RELOC_PAGEOFF12, llvm::MachO::ARM64_RELOC_POINTER_TO_GOT, llvm::MachO::ARM64_RELOC_UNSIGNED, assert(), and llvm_unreachable.
Referenced by resolveRelocation().
|
inline |
Definition at line 436 of file RuntimeDyldMachOAArch64.h.
References llvm::Error::success().
|
inlineoverridevirtual |
Implements llvm::RuntimeDyldImpl.
Definition at line 29 of file RuntimeDyldMachOAArch64.h.
|
inlineoverridevirtual |
Implements llvm::RuntimeDyldImpl.
Definition at line 31 of file RuntimeDyldMachOAArch64.h.
|
inlineoverridevirtual |
Parses one or more object file relocations (some object files use relocation pairs) and stores it to Relocations or SymbolRelocations (this depends on the object file type).
Implements llvm::RuntimeDyldImpl.
Definition at line 273 of file RuntimeDyldMachOAArch64.h.
References llvm::RelocationEntry::Addend, llvm::RuntimeDyldImpl::addRelocationForSection(), llvm::RuntimeDyldImpl::addRelocationForSymbol(), llvm::MachO::ARM64_RELOC_ADDEND, llvm::MachO::ARM64_RELOC_GOT_LOAD_PAGE21, llvm::MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12, llvm::MachO::ARM64_RELOC_POINTER_TO_GOT, llvm::MachO::ARM64_RELOC_SUBTRACTOR, assert(), decodeAddend(), llvm::object::MachOObjectFile::getAnyRelocationLength(), llvm::object::MachOObjectFile::getAnyRelocationPCRel(), llvm::object::MachOObjectFile::getAnyRelocationType(), llvm::object::MachOObjectFile::getPlainRelocationExternal(), llvm::object::MachOObjectFile::getPlainRelocationSymbolNum(), llvm::object::MachOObjectFile::getRelocation(), llvm::RuntimeDyldMachO::getRelocationEntry(), llvm::RuntimeDyldMachO::getRelocationValueRef(), llvm::inconvertibleErrorCode(), llvm::RelocationEntry::IsPCRel, llvm::object::MachOObjectFile::isRelocationScattered(), llvm::RuntimeDyldMachO::makeValueAddendPCRel(), llvm::RelocationEntry::RelType, llvm::SignExtend64(), and llvm::RelocationEntry::Size.
|
inlineoverridevirtual |
A object file specific relocation resolver.
RE | The relocation to be resolved |
Value | Target symbol address to apply the relocation action |
Implements llvm::RuntimeDyldImpl.
Definition at line 355 of file RuntimeDyldMachOAArch64.h.
References llvm::RelocationEntry::Addend, llvm::MachO::ARM64_RELOC_ADDEND, llvm::MachO::ARM64_RELOC_BRANCH26, llvm::MachO::ARM64_RELOC_GOT_LOAD_PAGE21, llvm::MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12, llvm::MachO::ARM64_RELOC_PAGE21, llvm::MachO::ARM64_RELOC_PAGEOFF12, llvm::MachO::ARM64_RELOC_POINTER_TO_GOT, llvm::MachO::ARM64_RELOC_SUBTRACTOR, llvm::MachO::ARM64_RELOC_TLVP_LOAD_PAGE21, llvm::MachO::ARM64_RELOC_TLVP_LOAD_PAGEOFF12, llvm::MachO::ARM64_RELOC_UNSIGNED, assert(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), encodeAddend(), llvm::RelocationEntry::IsPCRel, LLVM_DEBUG, llvm_unreachable, llvm::RelocationEntry::Offset, llvm::RelocationEntry::RelType, llvm::RelocationEntry::SectionPair::SectionA, llvm::RelocationEntry::SectionPair::SectionB, llvm::RelocationEntry::SectionID, llvm::RelocationEntry::Sections, llvm::RuntimeDyldImpl::Sections, llvm::RelocationEntry::Size, and llvm::RuntimeDyldImpl::writeBytesUnaligned().