Re-apply bb27e456435 and 5629afea910 with fixes.
authorLang Hames <lhames@gmail.com>
Sat, 11 Sep 2021 09:07:16 +0000 (19:07 +1000)
committerLang Hames <lhames@gmail.com>
Sun, 12 Sep 2021 04:23:22 +0000 (14:23 +1000)
commitbb72f073808a42e35ddc52cb0810470ffeb3cce3
tree80bab82798f21b53379e0b4e8e5ff48b724d27e5
parent15e9575fb5988a66aa6e57a55818b54b575dd795
Re-apply bb27e456435 and 5629afea910 with fixes.

This reapplies bb27e4564355243e479cab40885d6e0f7f640572 (SimpleRemoteEPC
support) and 2269a941a450a0d395161cfb792be58870b2875b (#include <mutex>
fix) with further fixes to support building with LLVM_ENABLE_THREADS=Off.
17 files changed:
llvm/include/llvm/ExecutionEngine/Orc/Core.h
llvm/include/llvm/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.h
llvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccess.h
llvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h [new file with mode: 0644]
llvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h [new file with mode: 0644]
llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.h [new file with mode: 0644]
llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
llvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp
llvm/lib/ExecutionEngine/Orc/EPCGenericMemoryAccess.cpp [deleted file]
llvm/lib/ExecutionEngine/Orc/Shared/CMakeLists.txt
llvm/lib/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.cpp [new file with mode: 0644]
llvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp [new file with mode: 0644]
llvm/lib/ExecutionEngine/Orc/TargetProcess/CMakeLists.txt
llvm/lib/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.cpp [new file with mode: 0644]
llvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp
llvm/tools/llvm-jitlink/llvm-jitlink.cpp
llvm/tools/llvm-jitlink/llvm-jitlink.h