LLVM
8.0.1
|
#include "ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h"
Public Types | |
typedef uint32_t | TargetPtrT |
Definition at line 20 of file RuntimeDyldMachOI386.h.
Definition at line 24 of file RuntimeDyldMachOI386.h.
|
inline |
Definition at line 26 of file RuntimeDyldMachOI386.h.
|
inline |
Definition at line 129 of file RuntimeDyldMachOI386.h.
References llvm::RuntimeDyldImpl::addRelocationForSection(), llvm::RuntimeDyldImpl::addRelocationForSymbol(), assert(), llvm::RuntimeDyldImpl::createStubFunction(), llvm::dbgs(), llvm::RuntimeDyldImpl::findOrEmitSection(), llvm::MachO::GENERIC_RELOC_VANILLA, llvm::SectionEntry::getAddressWithOffset(), llvm::object::MachOObjectFile::getAnyRelocationLength(), llvm::object::MachOObjectFile::getAnyRelocationPCRel(), llvm::object::MachOObjectFile::getAnyRelocationType(), llvm::object::MachOObjectFile::getDysymtabLoadCommand(), llvm::object::MachOObjectFile::getIndirectSymbolTableEntry(), llvm::object::SectionRef::getName(), llvm::object::SymbolRef::getName(), llvm::object::SectionRef::getRawDataRefImpl(), llvm::object::MachOObjectFile::getRelocation(), llvm::object::MachOObjectFile::getScatteredRelocationValue(), llvm::object::MachOObjectFile::getSection(), llvm::RuntimeDyldImpl::getSectionAddress(), llvm::RuntimeDyldMachO::getSectionByAddress(), llvm::object::MachOObjectFile::getSymbolByIndex(), llvm::object::SectionRef::isText(), LLVM_DEBUG, Name, llvm::RuntimeDyldMachO::populateIndirectSymbolPointersSection(), llvm::RuntimeDyldImpl::readBytesUnaligned(), llvm::MachO::section::reserved1, llvm::MachO::section::reserved2, llvm::ARMBuildAttrs::Section, llvm::object::MachOObjectFile::section_end(), llvm::RuntimeDyldImpl::Sections, SI, Size, llvm::MachO::section::size, llvm::Error::success(), and llvm::Expected< T >::takeError().
|
inlineoverridevirtual |
Implements llvm::RuntimeDyldImpl.
Definition at line 30 of file RuntimeDyldMachOI386.h.
|
inlineoverridevirtual |
Implements llvm::RuntimeDyldImpl.
Definition at line 32 of file RuntimeDyldMachOI386.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 RuntimeDyldMachOI386.h.
References llvm::RelocationEntry::Addend, llvm::RuntimeDyldImpl::addRelocationForSection(), llvm::RuntimeDyldImpl::addRelocationForSymbol(), llvm::MachO::GENERIC_RELOC_LOCAL_SECTDIFF, llvm::MachO::GENERIC_RELOC_PAIR, llvm::MachO::GENERIC_RELOC_PB_LA_PTR, llvm::MachO::GENERIC_RELOC_SECTDIFF, llvm::MachO::GENERIC_RELOC_TLV, llvm::MachO::GENERIC_RELOC_VANILLA, llvm::object::MachOObjectFile::getAnyRelocationType(), llvm::object::MachOObjectFile::getRelocation(), llvm::RuntimeDyldMachO::getRelocationEntry(), llvm::RuntimeDyldMachO::getRelocationValueRef(), llvm::RelocationEntry::IsPCRel, llvm::object::MachOObjectFile::isRelocationScattered(), llvm::RuntimeDyldMachO::makeValueAddendPCRel(), llvm::RuntimeDyldMachO::memcpyAddend(), llvm::RelocationValueRef::Offset, llvm::RuntimeDyldMachO::processScatteredVANILLA(), llvm::RelocationValueRef::SectionID, llvm::RelocationEntry::Size, llvm::RelocationValueRef::SymbolName, and UNIMPLEMENTED_RELOC.
|
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 99 of file RuntimeDyldMachOI386.h.
References llvm::RelocationEntry::Addend, assert(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::MachO::GENERIC_RELOC_LOCAL_SECTDIFF, llvm::MachO::GENERIC_RELOC_SECTDIFF, llvm::MachO::GENERIC_RELOC_VANILLA, 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, and llvm::RuntimeDyldImpl::writeBytesUnaligned().