X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=tools%2Flli%2FRemoteMemoryManager.cpp;h=5a135eabd738464204be3f49949851aa4fbcb219;hp=47da8fb60c985b3c1ba8fbca73491a5f79c9838c;hb=19afe671570c300ac176a510b40ea11d0081e403;hpb=83fca23528f3e71b7fa4c79683c3d069e2a59481 diff --git a/tools/lli/RemoteMemoryManager.cpp b/tools/lli/RemoteMemoryManager.cpp index 47da8fb60c9..5a135eabd73 100644 --- a/tools/lli/RemoteMemoryManager.cpp +++ b/tools/lli/RemoteMemoryManager.cpp @@ -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);