LLVM
8.0.1
|
#include "ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h"
Public Types | |
typedef uint64_t | TargetPtrT |
Definition at line 20 of file RuntimeDyldMachOX86_64.h.
typedef uint64_t llvm::RuntimeDyldMachOX86_64::TargetPtrT |
Definition at line 24 of file RuntimeDyldMachOX86_64.h.
|
inline |
Definition at line 26 of file RuntimeDyldMachOX86_64.h.
|
inline |
Definition at line 124 of file RuntimeDyldMachOX86_64.h.
References llvm::RelocationEntry::Addend, llvm::RuntimeDyldImpl::addRelocationForSection(), llvm::RuntimeDyldImpl::addRelocationForSymbol(), llvm::SectionEntry::advanceStubOffset(), assert(), llvm::StringMap< ValueTy, AllocatorTy >::find(), llvm::RuntimeDyldImpl::findOrEmitSection(), llvm::object::SectionRef::getAddress(), llvm::SectionEntry::getAddressWithOffset(), llvm::object::MachOObjectFile::getAnyRelocationLength(), llvm::object::MachOObjectFile::getAnyRelocationSection(), llvm::object::MachOObjectFile::getPlainRelocationExternal(), llvm::object::MachOObjectFile::getRelocation(), llvm::SectionEntry::getStubOffset(), llvm::RuntimeDyldImpl::GlobalSymbolTable, llvm::RelocationEntry::IsPCRel, llvm::object::SectionRef::isText(), llvm::RelocationEntry::Offset, llvm::RelocationValueRef::Offset, llvm::RuntimeDyldImpl::readBytesUnaligned(), resolveRelocation(), llvm::ARMBuildAttrs::Section, llvm::RelocationEntry::SectionID, llvm::RelocationValueRef::SectionID, llvm::RuntimeDyldImpl::Sections, llvm::SignExtend64(), Size, llvm::RelocationEntry::Size, llvm::Error::success(), llvm::RelocationValueRef::SymbolName, llvm::Expected< T >::takeError(), llvm::MachO::X86_64_RELOC_SUBTRACTOR, and llvm::MachO::X86_64_RELOC_UNSIGNED.
|
inlineoverridevirtual |
Implements llvm::RuntimeDyldImpl.
Definition at line 30 of file RuntimeDyldMachOX86_64.h.
|
inlineoverridevirtual |
Implements llvm::RuntimeDyldImpl.
Definition at line 32 of file RuntimeDyldMachOX86_64.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 35 of file RuntimeDyldMachOX86_64.h.
References llvm::RuntimeDyldImpl::addRelocationForSection(), llvm::RuntimeDyldImpl::addRelocationForSymbol(), assert(), llvm::object::MachOObjectFile::getAnyRelocationType(), llvm::object::MachOObjectFile::getPlainRelocationExternal(), llvm::object::MachOObjectFile::getRelocation(), llvm::RuntimeDyldMachO::getRelocationEntry(), llvm::RuntimeDyldMachO::getRelocationValueRef(), llvm::object::MachOObjectFile::isRelocationScattered(), llvm::RuntimeDyldMachO::makeValueAddendPCRel(), llvm::RuntimeDyldMachO::memcpyAddend(), llvm::RelocationValueRef::Offset, llvm::RelocationValueRef::SectionID, llvm::RelocationValueRef::SymbolName, UNIMPLEMENTED_RELOC, llvm::MachO::X86_64_RELOC_GOT, llvm::MachO::X86_64_RELOC_GOT_LOAD, llvm::MachO::X86_64_RELOC_SUBTRACTOR, and llvm::MachO::X86_64_RELOC_TLV.
|
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 87 of file RuntimeDyldMachOX86_64.h.
References llvm::RelocationEntry::Addend, assert(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::SectionEntry::getAddressWithOffset(), llvm::SectionEntry::getLoadAddressWithOffset(), llvm::RelocationEntry::IsPCRel, LLVM_DEBUG, llvm_unreachable, llvm::RelocationEntry::Offset, llvm::RelocationEntry::RelType, llvm::ARMBuildAttrs::Section, llvm::RelocationEntry::SectionPair::SectionA, llvm::RelocationEntry::SectionPair::SectionB, llvm::RelocationEntry::SectionID, llvm::RelocationEntry::Sections, llvm::RuntimeDyldImpl::Sections, llvm::RelocationEntry::Size, llvm::RuntimeDyldImpl::writeBytesUnaligned(), llvm::MachO::X86_64_RELOC_BRANCH, llvm::MachO::X86_64_RELOC_SIGNED, llvm::MachO::X86_64_RELOC_SIGNED_1, llvm::MachO::X86_64_RELOC_SIGNED_2, llvm::MachO::X86_64_RELOC_SIGNED_4, llvm::MachO::X86_64_RELOC_SUBTRACTOR, and llvm::MachO::X86_64_RELOC_UNSIGNED.
Referenced by finalizeSection().