diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-10-11 21:25:48 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-10-11 21:25:48 +0000 |
commit | 528f6d787b1a847e61eb2f1114559f423fdeb68c (patch) | |
tree | 7570a5af47ba322b7fa97459017f88717c4ad35c /tools/lli/RemoteMemoryManager.h | |
parent | b19b474de95112f7e0fc15ab87ad284889d19cd9 (diff) | |
download | llvm-528f6d787b1a847e61eb2f1114559f423fdeb68c.tar.gz llvm-528f6d787b1a847e61eb2f1114559f423fdeb68c.tar.bz2 llvm-528f6d787b1a847e61eb2f1114559f423fdeb68c.tar.xz |
Adding multiple object support to MCJIT EH frame handling
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192504 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lli/RemoteMemoryManager.h')
-rw-r--r-- | tools/lli/RemoteMemoryManager.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/lli/RemoteMemoryManager.h b/tools/lli/RemoteMemoryManager.h index ca157a7929..eabe042fff 100644 --- a/tools/lli/RemoteMemoryManager.h +++ b/tools/lli/RemoteMemoryManager.h @@ -74,13 +74,20 @@ public: unsigned SectionID, StringRef SectionName, bool IsReadOnly); - void *getPointerToNamedFunction(const std::string &Name, - bool AbortOnFailure = true); + // For now, remote symbol resolution is not support in lli. The MCJIT + // interface does support this, but clients must provide their own + // mechanism for finding remote symbol addresses. MCJIT will resolve + // symbols from Modules it contains. + uint64_t getSymbolAddress(const std::string &Name) {} void notifyObjectLoaded(ExecutionEngine *EE, const ObjectImage *Obj); bool finalizeMemory(std::string *ErrMsg); + // For now, remote EH frame registration isn't supported. Remote symbol + // resolution is a prerequisite to supporting remote EH frame registration. + void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr, size_t Size) {} + // This is a non-interface function used by lli void setRemoteTarget(RemoteTarget *T) { Target = T; } |