commit | b868e9101c138016aad5bd910b67f40a3213d6fc | [log] [tgz] |
---|---|---|
author | Andrew Kaylor <andrew.kaylor@intel.com> | Fri Oct 04 00:49:38 2013 +0000 |
committer | Andrew Kaylor <andrew.kaylor@intel.com> | Fri Oct 04 00:49:38 2013 +0000 |
tree | b05a180526bddc492c2860fc27dfecb3215995c5 | |
parent | 7c9659a3b297be6298ffae4656b86797295c5d58 [diff] [blame] |
Adding support and tests for multiple module handling in lli git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191938 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ExecutionEngine/MCJIT/MCJIT.cpp b/lib/ExecutionEngine/MCJIT/MCJIT.cpp index 09fc75c..541ba9e 100644 --- a/lib/ExecutionEngine/MCJIT/MCJIT.cpp +++ b/lib/ExecutionEngine/MCJIT/MCJIT.cpp
@@ -513,6 +513,7 @@ } void MCJIT::NotifyObjectEmitted(const ObjectImage& Obj) { MutexGuard locked(lock); + MemMgr.notifyObjectLoaded(this, &Obj); for (unsigned I = 0, S = EventListeners.size(); I < S; ++I) { EventListeners[I]->NotifyObjectEmitted(Obj); }