[clang] [clang-repl] Add support for running custom code in Remote JIT executor (PR #157358)

Vassil Vassilev via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 8 06:37:06 PDT 2025


================
@@ -135,11 +135,13 @@ class Interpreter {
     std::string OrcRuntimePath = "";
     /// PID of the out-of-process JIT executor.
     uint32_t ExecutorPID = 0;
+    /// Custom lambda to be executed inside child process/executor
+    std::function<void()> CustomizeFork = nullptr;
----------------
vgvassilev wrote:

What about passing the lambda as part of the JitConfig thing?

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


More information about the cfe-commits mailing list