summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2013-10-04 00:49:38 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2013-10-04 00:49:38 +0000
commit1b2cfb6495c18d209f9b945283b789ece3958dc3 (patch)
treeadfc3593fbbd22b5a59f4c3738c065493e542e9a /llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
parent6feda287565d14b5b6ee71c22c983a9f8bf90f57 (diff)
downloadbcm5719-llvm-1b2cfb6495c18d209f9b945283b789ece3958dc3.tar.gz
bcm5719-llvm-1b2cfb6495c18d209f9b945283b789ece3958dc3.zip
Adding support and tests for multiple module handling in lli
llvm-svn: 191938
Diffstat (limited to 'llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp b/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
index 09fc75c6ae0..541ba9eb62b 100644
--- a/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
+++ b/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
@@ -513,6 +513,7 @@ void MCJIT::UnregisterJITEventListener(JITEventListener *L) {
}
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);
}
OpenPOWER on IntegriCloud