[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:53 PDT 2025
================
@@ -26,7 +26,8 @@
llvm::Expected<std::unique_ptr<llvm::orc::SimpleRemoteEPC>>
launchExecutor(llvm::StringRef ExecutablePath, bool UseSharedMemory,
- llvm::StringRef SlabAllocateSizeString);
+ llvm::StringRef SlabAllocateSizeString,
+ std::function<void()> CustomizeFork = nullptr);
----------------
Vipul-Cariappa wrote:
Maybe we want a comment somewhere explaining the use case of `CustomizeFork`.
https://github.com/llvm/llvm-project/pull/147478
More information about the cfe-commits
mailing list