projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactor lli-child-target to remove duplicated code
[oota-llvm.git]
/
tools
/
lli
/
RemoteTarget.cpp
diff --git
a/tools/lli/RemoteTarget.cpp
b/tools/lli/RemoteTarget.cpp
index 9631ef7aac2b42677d6ce74682e8e438d8398795..f07534d161a33c40eb71b0f3922a119421277034 100644
(file)
--- a/
tools/lli/RemoteTarget.cpp
+++ b/
tools/lli/RemoteTarget.cpp
@@
-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;
}