[all-commits] [llvm/llvm-project] 2c8e78: [ORC] Add Shared/OrcRTBridge, and TargetProcess/Or...

lhames via All-commits all-commits at lists.llvm.org
Mon Sep 13 17:27:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c8e784915887f72f13ee49cd513efb446eb23be
      https://github.com/llvm/llvm-project/commit/2c8e784915887f72f13ee49cd513efb446eb23be
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-09-14 (Tue, 14 Sep 2021)

  Changed paths:
    A llvm/include/llvm/ExecutionEngine/Orc/Shared/OrcRTBridge.h
    M llvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h
    M llvm/include/llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h
    M llvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp
    M llvm/lib/ExecutionEngine/Orc/Shared/CMakeLists.txt
    A llvm/lib/ExecutionEngine/Orc/Shared/OrcRTBridge.cpp
    M llvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp
    M llvm/lib/ExecutionEngine/Orc/TargetProcess/CMakeLists.txt
    A llvm/lib/ExecutionEngine/Orc/TargetProcess/OrcRTBootstrap.cpp
    A llvm/lib/ExecutionEngine/Orc/TargetProcess/OrcRTBootstrap.h
    M llvm/lib/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.cpp
    M llvm/unittests/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManagerTest.cpp

  Log Message:
  -----------
  [ORC] Add Shared/OrcRTBridge, and TargetProcess/OrcRTBootstrap.

This is a small first step towards reorganization of the ORC libraries:

Declarations for types and function names (as strings) to be found in the
"ORC runtime bootstrap" set are moved into OrcRTBridge.h / OrcRTBridge.cpp.

The current implementation of the "ORC runtime bootstrap" functions is moved
into OrcRTBootstrap.h and OrcRTBootstrap.cpp. It is likely that this code will
eventually be moved into ORT-RT proper (in compiler RT).

The immediate goal of this change is to make these bootstrap functions usable
for clients other than SimpleRemoteEPC/SimpleRemoteEPCServer. The first planned
client is a new RuntimeDyld::MemoryManager that will run over EPC, which will
allow us to remove the old OrcRemoteTarget code.


  Commit: 3ca6eee2a975edcfa49d8adff6b90df6f8e1ba85
      https://github.com/llvm/llvm-project/commit/3ca6eee2a975edcfa49d8adff6b90df6f8e1ba85
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-09-14 (Tue, 14 Sep 2021)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/OrcRPCExecutorProcessControl.h

  Log Message:
  -----------
  [ORC] Fix self-assignment.

We want to read the page size from EPI->PageSize. Thanks to Simon Pilgrim for
spotting this.


Compare: https://github.com/llvm/llvm-project/compare/42dace9c5b5e...3ca6eee2a975


More information about the All-commits mailing list