Skip to content

Commit

Permalink
[ORC] Fix LLJITWithRemoteDebugging example after db21bd4.
Browse files Browse the repository at this point in the history
  • Loading branch information
lhames committed Oct 22, 2024
1 parent 1b0fcf1 commit e575483
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e575483

Please sign in to comment.