diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lli/lli.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/lli/lli.cpp b/tools/lli/lli.cpp index 9a27a4c941..d41a595de8 100644 --- a/tools/lli/lli.cpp +++ b/tools/lli/lli.cpp @@ -475,6 +475,10 @@ void layoutRemoteTargetMemory(RemoteTarget *T, RecordingMemoryManager *JMM) { << " to remote: " << format("%p", Addr) << "\n"); } + + // Trigger application of relocations + EE->finalizeObject(); + // Now load it all to the target. for (unsigned i = 0, e = Offsets.size(); i != e; ++i) { uint64_t Addr = RemoteAddr + Offsets[i].second; |