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

Vy Nguyen via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 31 10:20:19 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:

Hi, is there any other comment/feedback for this patch? Thanks!

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


More information about the lldb-commits mailing list