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

Vladimir Vereschaka via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 18 17:52:28 PDT 2025


vvereschaka wrote:

Thank you @chelcassanova,

I'll take a look and test the changes with the cross builder.

>As I understand it, the lldb-rpc-gen tool would get built on the host, while the sources are generated and compiled on the target using the just-built tool.

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. 

As example, here is how Aarch64 lldb-server gets built on x86_64 builder host using just-built clang cross toolchain:
https://lab.llvm.org/buildbot/#/builders/195/builds/12045/steps/11/logs/stdio
https://lab.llvm.org/buildbot/#/builders/195/builds/12045/steps/12/logs/stdio

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


More information about the lldb-commits mailing list