diff options
author | Lang Hames <lhames@gmail.com> | 2021-10-07 22:04:48 -0700 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2021-10-08 11:29:57 -0700 |
commit | dfd74db9813b0c7c64038c303726ba43f335e07a (patch) | |
tree | 0ab6cdf6c538f703ac5602bc3bdafc153322d641 /llvm/tools | |
parent | b0f68791f0ad867118497daf6aa23f9a71500012 (diff) | |
download | llvm-dfd74db9813b0c7c64038c303726ba43f335e07a.zip llvm-dfd74db9813b0c7c64038c303726ba43f335e07a.tar.gz llvm-dfd74db9813b0c7c64038c303726ba43f335e07a.tar.bz2 |
[ORC] Move SimpleRemoteEPCServer::Dispatcher into OrcShared.
Renames SimpleRemoteEPCServer::Dispatcher to SimpleRemoteEPCDispatcher and
moves it into OrcShared. SimpleRemoteEPCServer::ThreadDispatcher is similarly
moved and renamed to DynamicThreadPoolSimpleRemoteEPCDispatcher.
This will allow these classes to be reused by SimpleRemoteEPC on the controller
side of the connection.
Diffstat (limited to 'llvm/tools')
-rw-r--r-- | llvm/tools/lli/ChildTarget/ChildTarget.cpp | 2 | ||||
-rw-r--r-- | llvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/lli/ChildTarget/ChildTarget.cpp b/llvm/tools/lli/ChildTarget/ChildTarget.cpp index cf1b03a..a9e3309 100644 --- a/llvm/tools/lli/ChildTarget/ChildTarget.cpp +++ b/llvm/tools/lli/ChildTarget/ChildTarget.cpp @@ -54,7 +54,7 @@ int main(int argc, char *argv[]) { ExitOnErr(SimpleRemoteEPCServer::Create<FDSimpleRemoteEPCTransport>( [](SimpleRemoteEPCServer::Setup &S) -> Error { S.setDispatcher( - std::make_unique<SimpleRemoteEPCServer::ThreadDispatcher>()); + std::make_unique<DynamicThreadPoolSimpleRemoteEPCDispatcher>()); S.bootstrapSymbols() = SimpleRemoteEPCServer::defaultBootstrapSymbols(); S.services().push_back( diff --git a/llvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp b/llvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp index 7100c27..b1ba6a9 100644 --- a/llvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp +++ b/llvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp @@ -158,7 +158,7 @@ int main(int argc, char *argv[]) { ExitOnErr(SimpleRemoteEPCServer::Create<FDSimpleRemoteEPCTransport>( [](SimpleRemoteEPCServer::Setup &S) -> Error { S.setDispatcher( - std::make_unique<SimpleRemoteEPCServer::ThreadDispatcher>()); + std::make_unique<DynamicThreadPoolSimpleRemoteEPCDispatcher>()); S.bootstrapSymbols() = SimpleRemoteEPCServer::defaultBootstrapSymbols(); S.services().push_back( |