================
@@ -987,6 +998,16 @@ void Debugger::Clear() {
   //     static void Debugger::Destroy(lldb::DebuggerSP &debugger_sp);
   //     static void Debugger::Terminate();
   llvm::call_once(m_clear_once, [this]() {
+    lldb_private::telemetry::ScopedDispatcher<
+        lldb_private::telemetry::DebuggerInfo>
+        helper(
+            [this](lldb_private::telemetry::DebuggerInfo *info) {
+              assert(this == info->debugger);
+              // If we are here, then there was no error.
+              // Any abnormal exit will be reported by the crash-handler.
----------------
labath wrote:

Let's not mention the crash handler here, since it's not upstream.

https://github.com/llvm/llvm-project/pull/127696
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to