[Lldb-commits] [lldb] [LLDB][Telemetry] Collect telemetry from client when allowed. (PR #129728)

Vy Nguyen via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 26 07:08:15 PDT 2025


================
@@ -965,6 +965,22 @@ SBTarget SBDebugger::GetDummyTarget() {
   return sb_target;
 }
 
+void SBDebugger::DispatchClientTelemetry(const lldb::SBStructuredData &entry) {
+  LLDB_INSTRUMENT_VA(this);
+  // Disable client-telemetry for SWIG.
+  // This prevent arbitrary python client (pretty printers, whatnot) from sending
+  // telemetry without vendors knowing.
+#ifndef SWIG
----------------
oontvoo wrote:

@labath  @JDevlieghere  Would this be enough to address concerns about "random"/unknown client code sending telemetry to LLDB-server?

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


More information about the lldb-commits mailing list