[all-commits] [llvm/llvm-project] 6ede65: [JITLink][Orc] Add MemoryMapper interface with InP...

Anubhab Ghosh via All-commits all-commits at lists.llvm.org
Tue Jun 21 04:45:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ede65205073d3cf6b1ed4d101e66eae3e0fc8e6
      https://github.com/llvm/llvm-project/commit/6ede65205073d3cf6b1ed4d101e66eae3e0fc8e6
  Author: Anubhab Ghosh <anubhabghosh.me at gmail.com>
  Date:   2022-06-21 (Tue, 21 Jun 2022)

  Changed paths:
    A llvm/include/llvm/ExecutionEngine/Orc/MemoryMapper.h
    M llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
    A llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
    M llvm/unittests/ExecutionEngine/Orc/CMakeLists.txt
    A llvm/unittests/ExecutionEngine/Orc/MemoryMapperTest.cpp

  Log Message:
  -----------
  [JITLink][Orc] Add MemoryMapper interface with InProcess implementation

MemoryMapper class takes care of cross-process and in-process address space
reservation, mapping, transferring content and applying protections.

Implementations of this class can support different ways to do this such
as using shared memory, transferring memory contents over EPC or just
mapping memory in the same process (InProcessMemoryMapper).

Reviewed By: sgraenitz, lhames

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




More information about the All-commits mailing list