[PATCH] D131831: [Orc] Use IntervalMap to store free memory regions in MapperJITLinkMemoryManager

Anubhab Ghosh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 13 04:39:16 PDT 2022


argentite created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
argentite updated this revision to Diff 452401.
argentite added a comment.
argentite added reviewers: lhames, sgraenitz.
argentite published this revision for review.
Herald added subscribers: llvm-commits, StephenFan.
Herald added a project: LLVM.

Added a test


MapperJITLinkMemoryManager uses a free list to keep track of available
memory regions. Using an IntervalMap instead of vector allow automatic
coalescing of memory regions as they are freed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131831

Files:
  llvm/include/llvm/ExecutionEngine/Orc/MapperJITLinkMemoryManager.h
  llvm/lib/ExecutionEngine/Orc/MapperJITLinkMemoryManager.cpp
  llvm/unittests/ExecutionEngine/Orc/MapperJITLinkMemoryManagerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131831.452401.patch
Type: text/x-patch
Size: 6296 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220813/522a904a/attachment.bin>


More information about the llvm-commits mailing list