MCJIT: Add faux remote target execution to lli for the MCJIT.
authorJim Grosbach <grosbach@apple.com>
Wed, 5 Sep 2012 16:50:34 +0000 (16:50 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 5 Sep 2012 16:50:34 +0000 (16:50 +0000)
commit706f03a35db7029b2dbd2925552eb0d0472dcbb4
treebc8714e6adb6b8c664c4e48dbf8a04f7133d4632
parent998d3cca2937393d91b04d4d6105d9e67dd3b1b6
MCJIT: Add faux remote target execution to lli for the MCJIT.

Simulate a remote target address space by allocating a seperate chunk of
memory for the target and re-mapping section addresses to that prior to
execution. Later we'll want to have a truly remote process, but for now
this gets us closer to being able to test the remote target
functionality outside LLDB.

rdar://12157052

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163216 91177308-0d34-0410-b5e6-96231b3b80d8
tools/lli/RecordingMemoryManager.cpp [new file with mode: 0644]
tools/lli/RecordingMemoryManager.h [new file with mode: 0644]
tools/lli/RemoteTarget.cpp [new file with mode: 0644]
tools/lli/RemoteTarget.h [new file with mode: 0644]
tools/lli/lli.cpp