[llvm] e575483 - [ORC] Fix LLJITWithRemoteDebugging example after db21bd4fa9b.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 22 11:31:59 PDT 2024
Author: Lang Hames
Date: 2024-10-22T11:31:54-07:00
New Revision: e57548387000071562f44bfd66644480c8e6542d
URL: https://github.com/llvm/llvm-project/commit/e57548387000071562f44bfd66644480c8e6542d
DIFF: https://github.com/llvm/llvm-project/commit/e57548387000071562f44bfd66644480c8e6542d.diff
LOG: [ORC] Fix LLJITWithRemoteDebugging example after db21bd4fa9b.
Added:
Modified:
llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp
Removed:
################################################################################
diff --git a/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp b/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp
index 7c896ab6d88e07..83c5899852d64f 100644
--- a/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp
+++ b/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp
@@ -29,7 +29,8 @@ using namespace llvm::orc;
Expected<std::unique_ptr<DefinitionGenerator>>
loadDylib(ExecutionSession &ES, StringRef RemotePath) {
- if (auto Handle = ES.getExecutorProcessControl().loadDylib(RemotePath.data()))
+ if (auto Handle = ES.getExecutorProcessControl().getDylibMgr().loadDylib(
+ RemotePath.data()))
return std::make_unique<EPCDynamicLibrarySearchGenerator>(ES, *Handle);
else
return Handle.takeError();
More information about the llvm-commits
mailing list