Refactor lli-child-target to remove duplicated code
[oota-llvm.git] / tools / lli / RemoteTarget.cpp
index 9631ef7aac2b42677d6ce74682e8e438d8398795..f07534d161a33c40eb71b0f3922a119421277034 100644 (file)
@@ -62,6 +62,7 @@ bool RemoteTarget::allocateSpace(size_t Size, unsigned Alignment,
     return false;
   }
   Address = reinterpret_cast<uint64_t>(Mem.base());
+  Allocations.push_back(Mem);
   return true;
 }