[all-commits] [llvm/llvm-project] be2fc5: [ORC] Add MachOPlatform::Create overload -- Pass O...

lhames via All-commits all-commits at lists.llvm.org
Sun Feb 12 13:30:51 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be2fc577c38921c95811715a1ba1b3a149ba5e73
      https://github.com/llvm/llvm-project/commit/be2fc577c38921c95811715a1ba1b3a149ba5e73
  Author: Lang Hames <lhames at gmail.com>
  Date:   2023-02-12 (Sun, 12 Feb 2023)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
    M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp

  Log Message:
  -----------
  [ORC] Add MachOPlatform::Create overload -- Pass ORC runtime as def generator.

The existing Create method took a path to the ORC runtime and created a
StaticLibraryDefinitionGenerator for it. The new overload takes a
std::unique_ptr<DefinitionGenerator> directly instead. This provides more
flexibility when constructing MachOPlatforms. E.g. The runtime archive can be
embedded in a special section in the ORC controller executable or library,
rather than being on-disk.




More information about the All-commits mailing list