9 #ifndef LLVM_LIB_EXECUTIONENGINE_RUNTIMEDYLD_TARGETS_RUNTIMEDYLDELFMIPS_H 10 #define LLVM_LIB_EXECUTIONENGINE_RUNTIMEDYLD_TARGETS_RUNTIMEDYLDELFMIPS_H 12 #include "../RuntimeDyldELF.h" 15 #define DEBUG_TYPE "dyld" 34 uint64_t Value,
uint32_t Type, int64_t Addend,
35 uint64_t SymOffset,
SID SectionID);
37 uint64_t Value,
uint32_t Type, int64_t Addend,
38 uint64_t SymOffset,
SID SectionID);
52 int64_t evaluateMIPS32Relocation(
const SectionEntry &Section, uint64_t Offset,
54 int64_t evaluateMIPS64Relocation(
const SectionEntry &Section,
55 uint64_t Offset, uint64_t Value,
57 uint64_t SymOffset,
SID SectionID);
59 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.