10 #ifndef LLVM_LIB_EXECUTIONENGINE_RUNTIMEDYLD_TARGETS_RUNTIMEDYLDELFMIPS_H 11 #define LLVM_LIB_EXECUTIONENGINE_RUNTIMEDYLD_TARGETS_RUNTIMEDYLDELFMIPS_H 13 #include "../RuntimeDyldELF.h" 16 #define DEBUG_TYPE "dyld" 35 uint64_t Value,
uint32_t Type, int64_t Addend,
36 uint64_t SymOffset,
SID SectionID);
38 uint64_t Value,
uint32_t Type, int64_t Addend,
39 uint64_t SymOffset,
SID SectionID);
53 int64_t evaluateMIPS32Relocation(
const SectionEntry &Section, uint64_t Offset,
55 int64_t evaluateMIPS64Relocation(
const SectionEntry &Section,
56 uint64_t Offset, uint64_t Value,
58 uint64_t SymOffset,
SID SectionID);
60 void applyMIPSRelocation(uint8_t *TargetPtr, int64_t CalculatedValue,
RuntimeDyldELFMips(RuntimeDyld::MemoryManager &MM, JITSymbolResolver &Resolver)
RelocationEntry - used to represent relocations internally in the dynamic linker. ...
This class represents lattice values for constants.
void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override
A object file specific relocation resolver.
The instances of the Type class are immutable: once they are created, they are never changed...
Interface for looking up the initializer for a variable name, used by Init::resolveReferences.
Symbol resolution interface.
void resolveMIPSN32Relocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset, SID SectionID)
void resolveMIPSN64Relocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset, SID SectionID)
void resolveMIPSO32Relocation(const SectionEntry &Section, uint64_t Offset, uint32_t Value, uint32_t Type, int32_t Addend)
SectionEntry - represents a section emitted into memory by the dynamic linker.
LLVM Value Representation.