[all-commits] [llvm/llvm-project] 143555: [Orc] Properly deallocate mapped memory in MapperJ...
Anubhab Ghosh via All-commits
all-commits at lists.llvm.org
Fri Aug 12 21:43:12 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 143555b2ed30746fbcc8ff84e9cef4267688f110
https://github.com/llvm/llvm-project/commit/143555b2ed30746fbcc8ff84e9cef4267688f110
Author: Anubhab Ghosh <anubhabghosh.me at gmail.com>
Date: 2022-08-13 (Sat, 13 Aug 2022)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/MemoryMapper.h
M llvm/lib/ExecutionEngine/Orc/MapperJITLinkMemoryManager.cpp
M llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
M llvm/unittests/ExecutionEngine/Orc/MapperJITLinkMemoryManagerTest.cpp
Log Message:
-----------
[Orc] Properly deallocate mapped memory in MapperJITLinkMemoryManager
When memory is deallocated from MapperJITLinkMemoryManager deinitialize
actions are run through mapper and in case of InProcessMapper, memory
protections of the region are reset to read/write as they were previously
changed and can be reused in future.
Differential Revision: https://reviews.llvm.org/D131768
More information about the All-commits
mailing list