[all-commits] [llvm/llvm-project] ef6d47: [ORC] Add ELFNixPlatform::Create overload -- Pass ...
lhames via All-commits
all-commits at lists.llvm.org
Tue Feb 14 19:19:49 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef6d474aa7ac3584524298b43432450c54d39636
https://github.com/llvm/llvm-project/commit/ef6d474aa7ac3584524298b43432450c54d39636
Author: Lang Hames <lhames at gmail.com>
Date: 2023-02-14 (Tue, 14 Feb 2023)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h
M llvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp
Log Message:
-----------
[ORC] Add ELFNixPlatform::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.
This is the ELFNixPlatform equivalent of the MachOPlatform change in
be2fc577c38.
More information about the All-commits
mailing list