Skip to content

Commit e575483

Browse files
committed
[ORC] Fix LLJITWithRemoteDebugging example after db21bd4.
1 parent 1b0fcf1 commit e575483

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ using namespace llvm::orc;
2929

3030
Expected<std::unique_ptr<DefinitionGenerator>>
3131
loadDylib(ExecutionSession &ES, StringRef RemotePath) {
32-
if (auto Handle = ES.getExecutorProcessControl().loadDylib(RemotePath.data()))
32+
if (auto Handle = ES.getExecutorProcessControl().getDylibMgr().loadDylib(
33+
RemotePath.data()))
3334
return std::make_unique<EPCDynamicLibrarySearchGenerator>(ES, *Handle);
3435
else
3536
return Handle.takeError();

0 commit comments

Comments
 (0)