summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2013-10-16 00:14:21 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2013-10-16 00:14:21 +0000
commit43507d026bef31100cb0c35614bcf419029a265b (patch)
treeefd60ca4a91ebf848debd8691d136c594c5a23fe /include
parent50fd83e832b8a7361e362407555da2e9bd6085eb (diff)
downloadllvm-43507d026bef31100cb0c35614bcf419029a265b.tar.gz
llvm-43507d026bef31100cb0c35614bcf419029a265b.tar.bz2
llvm-43507d026bef31100cb0c35614bcf419029a265b.tar.xz
Adding support for deregistering EH frames with MCJIT.
Patch by Yaron Keren git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192753 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/ExecutionEngine/RTDyldMemoryManager.h2
-rw-r--r--include/llvm/ExecutionEngine/RuntimeDyld.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/ExecutionEngine/RTDyldMemoryManager.h b/include/llvm/ExecutionEngine/RTDyldMemoryManager.h
index 468b8234c9..3ad2e5022d 100644
--- a/include/llvm/ExecutionEngine/RTDyldMemoryManager.h
+++ b/include/llvm/ExecutionEngine/RTDyldMemoryManager.h
@@ -60,6 +60,8 @@ public:
/// be the case for local execution) these two values will be the same.
virtual void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr, size_t Size);
+ virtual void deregisterEHFrames(uint8_t *Addr, uint64_t LoadAddr, size_t Size);
+
/// This method returns the address of the specified function or variable.
/// It is used to resolve symbols during module linking.
virtual uint64_t getSymbolAddress(const std::string &Name);
diff --git a/include/llvm/ExecutionEngine/RuntimeDyld.h b/include/llvm/ExecutionEngine/RuntimeDyld.h
index a5610fbe3b..b8324387bb 100644
--- a/include/llvm/ExecutionEngine/RuntimeDyld.h
+++ b/include/llvm/ExecutionEngine/RuntimeDyld.h
@@ -71,6 +71,8 @@ public:
/// the actual target-specific EH frame registration.
void registerEHFrames();
+ void deregisterEHFrames();
+
StringRef getErrorString();
};