summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/RecordingMemoryManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Expression/RecordingMemoryManager.cpp')
-rw-r--r--lldb/source/Expression/RecordingMemoryManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Expression/RecordingMemoryManager.cpp b/lldb/source/Expression/RecordingMemoryManager.cpp
index 6dc202959f2..2a81fc2d125 100644
--- a/lldb/source/Expression/RecordingMemoryManager.cpp
+++ b/lldb/source/Expression/RecordingMemoryManager.cpp
@@ -294,6 +294,8 @@ RecordingMemoryManager::ReportAllocations (llvm::ExecutionEngine &engine)
engine.mapSectionAddress((void*)ai->m_local_start, ai->m_remote_start);
}
+ // Trigger re-application of relocations.
+ engine.finalizeObject();
}
bool
OpenPOWER on IntegriCloud