projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adding support and tests for multiple module handling in lli
[oota-llvm.git]
/
lib
/
ExecutionEngine
/
MCJIT
/
MCJIT.cpp
diff --git
a/lib/ExecutionEngine/MCJIT/MCJIT.cpp
b/lib/ExecutionEngine/MCJIT/MCJIT.cpp
index 09fc75c6ae0ec4f7a1d2d84c780c74c9f614049f..541ba9eb62b144505970edc3934243e20649e5a9 100644
(file)
--- a/
lib/ExecutionEngine/MCJIT/MCJIT.cpp
+++ b/
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);
}