[clang] [Clang-Repl] Sinking RemoteJITUtils into Interpreter class(Refactoring) (PR #155140)

Vassil Vassilev via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 2 00:02:43 PDT 2025


================
@@ -115,31 +116,60 @@ class Interpreter {
   /// An optional compiler instance for CUDA offloading
   std::unique_ptr<CompilerInstance> DeviceCI;
 
+public:
+  struct OutOfProcessJITConfig {
+    /// Indicates whether out-of-process JIT execution is enabled.
+    bool IsOutOfProcess;
+    /// Path to the out-of-process JIT executor.
+    std::string OOPExecutor;
+    std::string OOPExecutorConnect;
+    /// Indicates whether to use shared memory for communication.
+    bool UseSharedMemory;
+    /// String representing the slab allocation size for memory management.
+    std::string SlabAllocateSizeString;
----------------
vgvassilev wrote:

```suggestion
    unsigned SlabAllocateSize = 1024;
```

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


More information about the cfe-commits mailing list