aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Error.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2020-10-02 15:36:01 -0700
committerLang Hames <lhames@gmail.com>2020-10-19 01:59:03 -0700
commit680845ec0d6182c0dd3ac579daa37c1224d657e7 (patch)
treedcc962be0c21498fd6ceac7370f1efae0e42d7db /llvm/lib/Support/Error.cpp
parent8a7ca143f8bdc92824d949374c7e9ee9b33fb6af (diff)
downloadllvm-680845ec0d6182c0dd3ac579daa37c1224d657e7.zip
llvm-680845ec0d6182c0dd3ac579daa37c1224d657e7.tar.gz
llvm-680845ec0d6182c0dd3ac579daa37c1224d657e7.tar.bz2
[ORC] Move MaterializationResponsibility methods to ExecutionSession.
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.
Diffstat (limited to 'llvm/lib/Support/Error.cpp')
0 files changed, 0 insertions, 0 deletions