[all-commits] [llvm/llvm-project] 8d2736: [ORC] Add a missing definition.

lhames via All-commits all-commits at lists.llvm.org
Wed Oct 13 16:47:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d2736d9ddc3f2390b28ec1ce31db14edf799e36
      https://github.com/llvm/llvm-project/commit/8d2736d9ddc3f2390b28ec1ce31db14edf799e36
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-10-13 (Wed, 13 Oct 2021)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.h

  Log Message:
  -----------
  [ORC] Add a missing definition.


  Commit: 4fcc0ac15e056777012a7c62d35f825227a0b7e7
      https://github.com/llvm/llvm-project/commit/4fcc0ac15e056777012a7c62d35f825227a0b7e7
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-10-13 (Wed, 13 Oct 2021)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h
    M llvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp
    M llvm/tools/lli/lli.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  Log Message:
  -----------
  [ORC] Use a Setup object for SimpleRemoteEPC construction.

SimpleRemoteEPC notionally allowed subclasses to override the
createMemoryManager and createMemoryAccess methods to use custom objects, but
could not actually be subclassed in practice (The construction process in
SimpleRemoteEPC::Create could not be re-used).

Instead of subclassing, this commit adds a SimpleRemoteEPC::Setup class that
can be used by clients to set up the memory manager and memory access members.
A default-constructed Setup object results in no change from previous behavior
(EPCGeneric* memory manager and memory access objects used by default).


Compare: https://github.com/llvm/llvm-project/compare/5167c36ab41c...4fcc0ac15e05


More information about the All-commits mailing list