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

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 25 00:21:23 PDT 2025


================
@@ -156,6 +158,52 @@ uint32_t GetLLDBFrameID(uint64_t dap_frame_id);
 lldb::SBEnvironment
 GetEnvironmentFromArguments(const llvm::json::Object &arguments);
 
+/// Helper for sending telemetry to lldb server, if client-telemetry is enabled.
+#ifndef SWIG
----------------
labath wrote:

You don't need this. The SWIG macro is only defined while swig is parsing the headers, never during actual compilation.

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


More information about the lldb-commits mailing list