Reverting r222828 and r222810-r222812 as they broke the build on Windows.
[oota-llvm.git] / tools / lli / RemoteMemoryManager.cpp
index 47da8fb60c985b3c1ba8fbca73491a5f79c9838c..5a135eabd738464204be3f49949851aa4fbcb219 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "RemoteMemoryManager.h"
 #include "llvm/ExecutionEngine/ExecutionEngine.h"
+#include "llvm/ExecutionEngine/ObjectImage.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/Format.h"
 
@@ -77,7 +78,7 @@ sys::MemoryBlock RemoteMemoryManager::allocateSection(uintptr_t Size) {
 }
 
 void RemoteMemoryManager::notifyObjectLoaded(ExecutionEngine *EE,
-                                             const object::ObjectFile &Obj) {
+                                                const ObjectImage *Obj) {
   // The client should have called setRemoteTarget() before triggering any
   // code generation.
   assert(Target);