[Lldb-commits] [lldb] Reland "[lldb][RPC] Upstream lldb-rpc-gen tool" (#146969)" Attempt 2 (PR #148996)

Chelsea Cassanova via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 21 09:25:19 PDT 2025


chelcassanova wrote:

> To be more precisely, the generated sources also will get built on the host for the cross-platform builds, but during the second stage when the clang toolchain for the target platform is already fully in place.

Ah ok, this is why for lldb-server it has a CMake variable to skip building it in phase 1. I added a variable to CMake (`LLDB_CAN_USE_LLDB_RPC_SERVER`) that when enabled, should allow the lldb-rpc-server to get built separate from the lldb-rpc-gen tool.

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


More information about the lldb-commits mailing list