Skip to content

Commit db59b3a

Browse files
author
kr-2003
committed
Adding customFork in JitConfig
1 parent 88fd4cf commit db59b3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/include/clang/Interpreter/Interpreter.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ class Interpreter {
140140
std::optional<std::string> OrcRuntimePath;
141141
/// PID of the out-of-process JIT executor.
142142
uint32_t ExecutorPID = 0;
143-
143+
/// Custom lambda to be executed inside child process/executor
144+
std::function<void()> CustomizeFork = nullptr;
144145
/// Factory function for creating LLJITBuilder instances.
145146
/// This allows clients to customize JIT builder creation while still
146147
/// providing sensible defaults.

0 commit comments

Comments
 (0)