From 972fb8ca77ce6ec04019d8732170fa1f726ee69a Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Thu, 23 Jan 2014 11:04:42 +0000 Subject: Refactor lli-child-target to remove duplicated code Eliminate the copies LLVM's System mmap and cache invalidation code. These were slowly drifting away from the original version, and moreover the copied code was a dead end in terms of portability. We now statically link to Support but in practice with stripping this adds next to no weight to the resultant binary. Also avoid installing lli-child-target to the user's $PATH. It's not meant to be run directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199881 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/lli/RemoteTarget.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/lli/RemoteTarget.cpp') diff --git a/tools/lli/RemoteTarget.cpp b/tools/lli/RemoteTarget.cpp index 9631ef7aac..f07534d161 100644 --- 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(Mem.base()); + Allocations.push_back(Mem); return true; } -- cgit v1.2.3