13 #ifndef LLVM_EXECUTIONENGINE_RTDYLDMEMORYMANAGER_H 14 #define LLVM_EXECUTIONENGINE_RTDYLDMEMORYMANAGER_H 26 class ExecutionEngine;
51 void anchor()
override;
69 static void registerEHFramesInProcess(uint8_t *Addr,
size_t Size);
72 static void deregisterEHFramesInProcess(uint8_t *Addr,
size_t Size);
74 void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr,
size_t Size)
override;
75 void deregisterEHFrames()
override;
79 static uint64_t getSymbolAddressInProcess(
const std::string &
Name);
86 return getSymbolAddressInProcess(Name);
124 return JITSymbol(getSymbolAddressInLogicalDylib(Name),
137 virtual void *getPointerToNamedFunction(
const std::string &Name,
138 bool AbortOnFailure =
true);
149 void anchor()
override;
158 #endif // LLVM_EXECUTIONENGINE_RTDYLDMEMORYMANAGER_H Represents a symbol in the JIT.
This class represents lattice values for constants.
amdgpu Simplify well known AMD library false FunctionCallee Value const Twine & Name
virtual uint64_t getSymbolAddress(const std::string &Name)
Legacy symbol lookup - DEPRECATED! Please override findSymbol instead.
Legacy symbol resolution interface.
This class is the base class for all object file types.
struct LLVMOpaqueMCJITMemoryManager * LLVMMCJITMemoryManagerRef
#define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref)
virtual void notifyObjectLoaded(ExecutionEngine *EE, const object::ObjectFile &)
This method is called after an object has been loaded into memory but before relocations are applied ...
JITSymbol findSymbol(const std::string &Name) override
This method returns a RuntimeDyld::SymbolInfo for the specified function or variable.
virtual void notifyObjectLoaded(RuntimeDyld &RTDyld, const object::ObjectFile &Obj)
This method is called after an object has been loaded into memory but before relocations are applied ...
Abstract interface for implementation execution of LLVM modules, designed to support both interpreter...
virtual uint64_t getSymbolAddressInLogicalDylib(const std::string &Name)
Legacy symbol lookup – DEPRECATED! Please override findSymbolInLogicalDylib instead.
std::vector< EHFrame > EHFrameInfos
JITSymbol findSymbolInLogicalDylib(const std::string &Name) override
Default to treating all modules as separate.