[Lldb-commits] [lldb] [LLDB][NFC] Add accessor for SessionId (PR #142444)
Vy Nguyen via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 2 10:41:41 PDT 2025
https://github.com/oontvoo created https://github.com/llvm/llvm-project/pull/142444
None
>From 38e85beda6ddc9b102fab5ec9133364a75ac5022 Mon Sep 17 00:00:00 2001
From: Vy Nguyen <vyng at google.com>
Date: Mon, 2 Jun 2025 13:40:40 -0400
Subject: [PATCH] Add accessor for SessionId
---
lldb/include/lldb/Core/Telemetry.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lldb/include/lldb/Core/Telemetry.h b/lldb/include/lldb/Core/Telemetry.h
index 7889cda40e75f..5be68de6fcd7f 100644
--- a/lldb/include/lldb/Core/Telemetry.h
+++ b/lldb/include/lldb/Core/Telemetry.h
@@ -243,6 +243,8 @@ class TelemetryManager : public llvm::telemetry::Manager {
protected:
TelemetryManager(std::unique_ptr<LLDBConfig> config);
+ inline const std::string &GetSessionId() const { return m_id; }
+
static void SetInstance(std::unique_ptr<TelemetryManager> manger);
private:
More information about the lldb-commits
mailing list