[clang] [Clang-Repl] Adds custom lambda in launchExecutor and PID retrieval (PR #152562)

Abhinav Kumar via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 8 06:55:37 PDT 2025


kr-2003 wrote:

> Ya changing that line to just
> 
> ```c++
> llvm::sys::path::append(ExecutorPath, "llvm-jitlink-executor");
> ```
> 
> I then get
> 
> ```
> Specified executor invalid: /{IGNORE}/.cache/bazel/_bazel_bartchr/16c24a85dd12eb0aa12cad671d68a98a/execroot/__main__/bazel-out/k8-fastbuild/bin/llvm-jitlink-executor
> ```
> 
> So still failing, but the expected path for bazel without the double `/bin/bin/`.

So, its seems that ``llvm-jitlink-executor`` is does not gets compiled for Bazel. Though, ``compiler-rt`` and ``HostSupportsJIT()`` conditions are satisfied. 

https://github.com/llvm/llvm-project/blob/3ea76af3a15af7650b3a900f7418809f452b10f7/clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp#L133-L146

https://github.com/llvm/llvm-project/blob/3ea76af3a15af7650b3a900f7418809f452b10f7/clang/unittests/Interpreter/CMakeLists.txt#L9-L14

https://github.com/llvm/llvm-project/blob/3ea76af3a15af7650b3a900f7418809f452b10f7/clang/unittests/Interpreter/CMakeLists.txt#L41-L47

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


More information about the cfe-commits mailing list