[Lldb-commits] [lldb] [RFC][LLDB] Telemetry in LLDB (PR #87815)
James Henderson via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 8 00:37:46 PDT 2024
https://github.com/jh7370 commented:
As I think I mentioned in the original RFC, I'm not convinced the core functionality for this belongs in LLDB. In my view, LLDB is a client that should make use of a common telemetry library that can be used by other parts of the wider LLVM toolchain, or indeed other non-LLVM tools. From a point of view of separation of concerns, it also doesn't make sense: LLDB is for debugging, whereas telemetry is a more generic thing that isn't specific to debugging. Certainly, there may be some specific aspects that are tied to LLDB in particular, but I'd expect those to be about the "what" is reported, not the "how" it is reported.
As others have mentioned, I think it would be really helpful to have an overview of the design with the different key parts described (by class name ideally), preferably with the aid of a diagram, since a picture is often a clearer way of describing structure than words are.
https://github.com/llvm/llvm-project/pull/87815
More information about the lldb-commits
mailing list