1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/examples/Kaleidoscope
Chris Bieneman 9b89694766 Break out OrcError and RPC
Summary:
When createing an ORC remote JIT target the current library split forces the target process to link large portions of LLVM (Core, Execution Engine, JITLink, Object, MC, Passes, RuntimeDyld, Support, Target, and TransformUtils). This occurs because the ORC RPC interfaces rely on the static globals the ORC Error types require, which starts a cycle of pulling in more and more.

This patch breaks the ORC RPC Error implementations out into an "OrcError" library which only depends on LLVM Support. It also pulls the ORC RPC headers into their own subdirectory.

With this patch code can include the Orc/RPC/*.h headers and will only incur link dependencies on LLVMOrcError and LLVMSupport.

Reviewers: lhames

Reviewed By: lhames

Subscribers: mgorny, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68732
2019-10-29 17:31:28 -07:00
..
BuildingAJIT Break out OrcError and RPC 2019-10-29 17:31:28 -07:00
Chapter2 [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
Chapter3 [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
Chapter4 [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
Chapter5 [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
Chapter6 [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
Chapter7 [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
Chapter8 [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
Chapter9 [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
include [ORC] Add deprecation warnings to ORCv1 layers and utilities. 2019-07-17 16:40:52 +00:00
MCJIT Python compat - print statement 2019-01-03 14:11:33 +00:00
CMakeLists.txt PR35705: Fix Chapter 9 example code for API changes to DIBuilder 2017-12-20 19:36:54 +00:00