diff options
Diffstat (limited to 'bolt/lib/Rewrite/MachORewriteInstance.cpp')
-rw-r--r-- | bolt/lib/Rewrite/MachORewriteInstance.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bolt/lib/Rewrite/MachORewriteInstance.cpp b/bolt/lib/Rewrite/MachORewriteInstance.cpp index f1f20f278b11..8078dc4e3fd2 100644 --- a/bolt/lib/Rewrite/MachORewriteInstance.cpp +++ b/bolt/lib/Rewrite/MachORewriteInstance.cpp @@ -527,6 +527,7 @@ void MachORewriteInstance::emitAndLink() { mapCodeSections(); mapInstrumentationSection("__counters"); mapInstrumentationSection("__tables"); + RTDyld->finalizeWithMemoryManagerLocking(); // TODO: Refactor addRuntimeLibSections to work properly on Mach-O // and use it here. |