Split JIT creation from LLVMReactor.cpp into LLVMJIT.cpp
This makes a rough distinction between code that mainly only interacts
with LLVM's IRBuilder interface, and the part that sets up the JIT and
manages module and function creation, memory management, and external
symbol resolution.
The latter much more often requires changes when LLVM is upgraded than
the former, so it's useful to keep them apart as we'll have multiple
versions of LLVM in different build environments.
Bug: b/148561024
Change-Id: I2ac2d00b4f3bcd277289a4ec6856c9eb7bb6aa24
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/40688
Presubmit-Ready: Nicolas Capens <nicolascapens@google.com>
Tested-by:
Nicolas Capens <nicolascapens@google.com>
Reviewed-by:
Antonio Maiorano <amaiorano@google.com>
Showing
src/Reactor/LLVMJIT.cpp
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment