[llvm] 7e813a6 - [ORC] Remove dead SimpleRemoteEPC::createDefaultMemoryManager method (#215744)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 12 01:49:37 PDT 2026
Author: Lang Hames
Date: 2026-08-12T18:49:32+10:00
New Revision: 7e813a6c01cb292e06fad330058047ecb5af8921
URL: https://github.com/llvm/llvm-project/commit/7e813a6c01cb292e06fad330058047ecb5af8921
DIFF: https://github.com/llvm/llvm-project/commit/7e813a6c01cb292e06fad330058047ecb5af8921.diff
LOG: [ORC] Remove dead SimpleRemoteEPC::createDefaultMemoryManager method (#215744)
This method is unused. Remove it. NFC.
Added:
Modified:
llvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h
llvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp
Removed:
################################################################################
diff --git a/llvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h b/llvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h
index 73e63145b0350..7353e807bdc22 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h
@@ -80,9 +80,6 @@ class LLVM_ABI SimpleRemoteEPC : public ExecutorProcessControl,
std::unique_ptr<TaskDispatcher> D)
: ExecutorProcessControl(std::move(SSP), std::move(D)) {}
- static Expected<std::unique_ptr<jitlink::JITLinkMemoryManager>>
- createDefaultMemoryManager(SimpleRemoteEPC &SREPC);
-
Error sendMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo,
ExecutorAddr TagAddr, ArrayRef<char> ArgBytes);
diff --git a/llvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp b/llvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp
index a651b05d52e3c..32bb6bb1c67d1 100644
--- a/llvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp
@@ -177,20 +177,6 @@ void SimpleRemoteEPC::handleDisconnect(Error Err) {
DisconnectCV.notify_all();
}
-Expected<std::unique_ptr<jitlink::JITLinkMemoryManager>>
-SimpleRemoteEPC::createDefaultMemoryManager(SimpleRemoteEPC &SREPC) {
- EPCGenericJITLinkMemoryManager::SymbolAddrs SAs;
- if (auto Err = SREPC.getBootstrapSymbols(
- {{SAs.Allocator, rt::SimpleExecutorMemoryManagerInstanceName},
- {SAs.Reserve, rt::SimpleExecutorMemoryManagerReserveWrapperName},
- {SAs.Initialize,
- rt::SimpleExecutorMemoryManagerInitializeWrapperName},
- {SAs.Release, rt::SimpleExecutorMemoryManagerReleaseWrapperName}}))
- return std::move(Err);
-
- return std::make_unique<EPCGenericJITLinkMemoryManager>(SREPC, SAs);
-}
-
Error SimpleRemoteEPC::sendMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo,
ExecutorAddr TagAddr,
ArrayRef<char> ArgBytes) {
More information about the llvm-commits
mailing list