summaryrefslogtreecommitdiffstats
path: root/llvm/tools/lli/RemoteMemoryManager.h
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2013-10-11 21:25:48 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2013-10-11 21:25:48 +0000
commit7bb1344c67dd437a4324be90110c4e714a4b4de0 (patch)
tree3c1250198de7402b8cf3715bc05440e6937341c2 /llvm/tools/lli/RemoteMemoryManager.h
parent71814b44658523f5fc747475ad8b40c9197565e2 (diff)
downloadbcm5719-llvm-7bb1344c67dd437a4324be90110c4e714a4b4de0.tar.gz
bcm5719-llvm-7bb1344c67dd437a4324be90110c4e714a4b4de0.zip
Adding multiple object support to MCJIT EH frame handling
llvm-svn: 192504
Diffstat (limited to 'llvm/tools/lli/RemoteMemoryManager.h')
-rw-r--r--llvm/tools/lli/RemoteMemoryManager.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/llvm/tools/lli/RemoteMemoryManager.h b/llvm/tools/lli/RemoteMemoryManager.h
index ca157a79298..eabe042fff0 100644
--- a/llvm/tools/lli/RemoteMemoryManager.h
+++ b/llvm/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; }
OpenPOWER on IntegriCloud