[all-commits] [llvm/llvm-project] 7f9933: [ORC] Add EPCGenericMemoryAccess: generic executor...

lhames via All-commits all-commits at lists.llvm.org
Sat Aug 21 02:44:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f99337f9bcf03eb19e40e664743078d65325a37
      https://github.com/llvm/llvm-project/commit/7f99337f9bcf03eb19e40e664743078d65325a37
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-08-21 (Sat, 21 Aug 2021)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/Core.h
    A llvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccess.h
    M llvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h
    M llvm/include/llvm/ExecutionEngine/Orc/LookupAndRecordAddrs.h
    M llvm/include/llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h
    M llvm/include/llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h
    M llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h
    M llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
    A llvm/lib/ExecutionEngine/Orc/EPCGenericMemoryAccess.cpp
    M llvm/unittests/ExecutionEngine/Orc/CMakeLists.txt
    A llvm/unittests/ExecutionEngine/Orc/EPCGenericMemoryAccessTest.cpp

  Log Message:
  -----------
  [ORC] Add EPCGenericMemoryAccess: generic executor memory access via EPC calls.

All ExecutorProcessControl subclasses must provide an
ExecutorProcessControl::MemoryAccess object that can be used to access executor
memory from the JIT process. The EPCGenericMemoryAccess class provides an
off-the-shelf MemoryAccess implementation for JITs that do not need (or cannot
provide) a specialized MemoryAccess implementation. This simplifies the process
of creating new ExecutorProcessControl implementations.




More information about the All-commits mailing list