================
@@ -702,10 +723,8 @@ llvm::Error Interpreter::LoadDynamicLibrary(const char
*name) {
if (!EE)
return EE.takeError();
- auto &DL = EE->getDataLayout();
-
- if (auto DLSG = llvm::orc::DynamicLibrarySearchGenerator::Load(
- name, DL.getGlobalPrefix()))
+ if (auto DLSG = llvm::orc::EPCDynamicLibrarySearchGenerator::Load(
----------------
lhames wrote:
`EPC` is `ExecutorProcessControl` -- using these variants means that the system
works regardless of the underlying implementation (`SelfExecutorProcessControl`
vs `SimpleRemoteEPC`), whereas using `DynamicLibrarySearchGenerator` _only_
works in the current process.
Eventually I want to get rid of the Non-EPC variants. I might even invert the
naming scheme and start calling the old ones "LegacyInProcess<XXX>". :)
https://github.com/llvm/llvm-project/pull/110418
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits