[clang] [wip][Clang-Repl] Add custom function as lambda in launchExecutor and fetch PID of launched executor (PR #147478)
Vipul Cariappa via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 29 06:52:54 PDT 2025
================
@@ -155,6 +163,8 @@ launchExecutor(StringRef ExecutablePath, bool UseSharedMemory,
<< ExecutorPath.get() << "\"\n";
exit(1);
}
+ } else {
+ LaunchedExecutorPID.push_back(ChildPID);
}
// else we're the parent...
----------------
Vipul-Cariappa wrote:
```suggestion
}
// else we're the parent...
LaunchedExecutorPID.push_back(ChildPID);
```
Does this work?
https://github.com/llvm/llvm-project/pull/147478
More information about the cfe-commits
mailing list