forked from OSchip/llvm-project
680845ec0d
MaterializationResponsibility, JITDylib, and ExecutionSession collectively manage the OrcV2 core JIT state. Responsibility for maintaining and updating this state has previously been spread among these classes, resulting in implementations that are each non-trivial, but all tightly coupled. This has in turn made reading the code and reasoning about state update and locking rules difficult. The core state model can be simplified by thinking of MaterializationResponsibility and JITDylib as facets of ExecutionSession. This commit is the first in a series intended to refactor Core.cpp to reflect this model. Operations on MaterializationResponsibility and JITDylib will forward to implementation methods inside ExecutionSession. Raw state will remain with the original classes, but in most cases will only be modified by the ExecutionSession. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CompileOnDemandLayer.cpp | ||
CompileUtils.cpp | ||
Core.cpp | ||
DebugUtils.cpp | ||
ExecutionUtils.cpp | ||
IRCompileLayer.cpp | ||
IRTransformLayer.cpp | ||
IndirectionUtils.cpp | ||
JITTargetMachineBuilder.cpp | ||
LLJIT.cpp | ||
LLVMBuild.txt | ||
Layer.cpp | ||
LazyReexports.cpp | ||
MachOPlatform.cpp | ||
Mangling.cpp | ||
ObjectLinkingLayer.cpp | ||
ObjectTransformLayer.cpp | ||
OrcABISupport.cpp | ||
OrcV2CBindings.cpp | ||
RTDyldObjectLinkingLayer.cpp | ||
SpeculateAnalyses.cpp | ||
Speculation.cpp | ||
TPCDynamicLibrarySearchGenerator.cpp | ||
TPCIndirectionUtils.cpp | ||
TargetProcessControl.cpp | ||
ThreadSafeModule.cpp |