diff options
author | Peter S. Housel <housel@acm.org> | 2022-05-25 17:04:01 -0700 |
---|---|---|
committer | Peter S. Housel <housel@acm.org> | 2022-06-09 22:47:58 -0700 |
commit | 1aa71f8679e439db651c06e8e68ef21e6deffa93 (patch) | |
tree | 23194c023f00663d3bc6af0577d3e6f86689660e /llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp | |
parent | 87c4268329072153f178d554e138166d579f18b9 (diff) | |
download | llvm-1aa71f8679e439db651c06e8e68ef21e6deffa93.zip llvm-1aa71f8679e439db651c06e8e68ef21e6deffa93.tar.gz llvm-1aa71f8679e439db651c06e8e68ef21e6deffa93.tar.bz2 |
[ORC][ORC_RT] Integrate ORC platforms with LLJIT and lli
This change enables integrating orc::LLJIT with the ORCv2
platforms (MachOPlatform and ELFNixPlatform) and the compiler-rt orc
runtime. Changes include:
- Adding SPS wrapper functions for the orc runtime's dlfcn emulation
functions, allowing initialization and deinitialization to be invoked
by LLJIT.
- Changing the LLJIT code generation default to add UseInitArray so
that .init_array constructors are generated for ELF platforms.
- Integrating the ORCv2 Platforms into lli, and adding a
PlatformSupport implementation to the LLJIT instance used by lli which
implements initialization and deinitialization by calling the new
wrapper functions in the runtime.
Reviewed By: lhames
Differential Revision: https://reviews.llvm.org/D126492
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp')
0 files changed, 0 insertions, 0 deletions