[clang] [llvm] [Clang-Repl] Add support for out-of-process execution. (PR #110418)

Vassil Vassilev via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 1 23:07:00 PDT 2024


================
@@ -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(
----------------
vgvassilev wrote:

Should we not default to in-process and only if we require out-of-process to set these things specifically for out-of-process?

https://github.com/llvm/llvm-project/pull/110418


More information about the cfe-commits mailing list