diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-10-16 00:14:21 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-10-16 00:14:21 +0000 |
commit | 43507d026bef31100cb0c35614bcf419029a265b (patch) | |
tree | efd60ca4a91ebf848debd8691d136c594c5a23fe /lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h | |
parent | 50fd83e832b8a7361e362407555da2e9bd6085eb (diff) | |
download | llvm-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 'lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h')
-rw-r--r-- | lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h index 058078b0f3..3adf82706a 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h +++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h @@ -126,6 +126,7 @@ class RuntimeDyldELF : public RuntimeDyldImpl { // in a table until we receive a request to register all unregistered // EH frame sections with the memory manager. SmallVector<SID, 2> UnregisteredEHFrameSections; + SmallVector<SID, 2> RegisteredEHFrameSections; public: RuntimeDyldELF(RTDyldMemoryManager *mm) : RuntimeDyldImpl(mm) @@ -141,6 +142,7 @@ public: virtual bool isCompatibleFormat(const ObjectBuffer *Buffer) const; virtual ObjectImage *createObjectImage(ObjectBuffer *InputBuffer); virtual void registerEHFrames(); + virtual void deregisterEHFrames(); virtual void finalizeLoad(ObjSectionToIDMap &SectionMap); virtual ~RuntimeDyldELF(); }; |