[all-commits] [llvm/llvm-project] 23d0e7: [Orc] Use IntervalMap to store free memory regions...

Anubhab Ghosh via All-commits all-commits at lists.llvm.org
Sun Aug 14 02:28:01 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23d0e71fcbc467840efd6cbb83ffdb6c13fdc610
  Author: Anubhab Ghosh <anubhabghosh.me at gmail.com>
  Date:   2022-08-14 (Sun, 14 Aug 2022)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/MapperJITLinkMemoryManager.h
    M llvm/lib/ExecutionEngine/Orc/MapperJITLinkMemoryManager.cpp
    M llvm/unittests/ExecutionEngine/Orc/MapperJITLinkMemoryManagerTest.cpp

  Log Message:
  [Orc] Use IntervalMap to store free memory regions in MapperJITLinkMemoryManager

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.

Differential Revision: https://reviews.llvm.org/D131831

More information about the All-commits mailing list