commit | 43507d026bef31100cb0c35614bcf419029a265b | [log] [tgz] |
---|---|---|
author | Andrew Kaylor <andrew.kaylor@intel.com> | Wed Oct 16 00:14:21 2013 +0000 |
committer | Andrew Kaylor <andrew.kaylor@intel.com> | Wed Oct 16 00:14:21 2013 +0000 |
tree | efd60ca4a91ebf848debd8691d136c594c5a23fe | |
parent | 50fd83e832b8a7361e362407555da2e9bd6085eb [diff] [blame] |
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
diff --git a/lib/ExecutionEngine/MCJIT/MCJIT.cpp b/lib/ExecutionEngine/MCJIT/MCJIT.cpp index fa2c984..bcd0886 100644 --- a/lib/ExecutionEngine/MCJIT/MCJIT.cpp +++ b/lib/ExecutionEngine/MCJIT/MCJIT.cpp
@@ -62,6 +62,8 @@ } MCJIT::~MCJIT() { + Dyld.deregisterEHFrames(); + LoadedObjectMap::iterator it, end = LoadedObjects.end(); for (it = LoadedObjects.begin(); it != end; ++it) { ObjectImage *Obj = it->second;