[Lldb-commits] [lldb] [DRAFT][lldb][RPC] Design doc for upstreaming PR (PR #138612)
Chelsea Cassanova via lldb-commits
lldb-commits at lists.llvm.org
Tue May 6 09:41:59 PDT 2025
chelcassanova wrote:
Thanks for responding! I'll add a section on testing the tool itself (which we do with shell tests) and testing the interfaces (which we do by running the main LLDB API test suite against liblldbrpc).
> Also, is there a way for a developer to set up an lldb-rpc based session? If we have an issue that only happens over lldb-rpc. Which in theory we won't, but we might think we do and need to check that.
Both the RPC client and server are built as binaries that each have a main. The RPC core code contains the functionality for a client binary to connect to RPC and then interface with the `lldb-rpc-server` binary, so Xcode isn't the only way to create a session. This is how we set up the API test suite for RPC, as Python is used as the client binary for the RPC session.
https://github.com/llvm/llvm-project/pull/138612
More information about the lldb-commits
mailing list