[Lldb-commits] [lldb] 88c1403 - [LLDB][NFC] Add accessor for SessionId (#142444)

via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 2 10:46:06 PDT 2025


Author: Vy Nguyen
Date: 2025-06-02T13:46:03-04:00
New Revision: 88c1403981dee9844042a99dc357d8034cf5d197

URL: https://github.com/llvm/llvm-project/commit/88c1403981dee9844042a99dc357d8034cf5d197
DIFF: https://github.com/llvm/llvm-project/commit/88c1403981dee9844042a99dc357d8034cf5d197.diff

LOG: [LLDB][NFC] Add accessor for SessionId (#142444)

Added: 
    

Modified: 
    lldb/include/lldb/Core/Telemetry.h

Removed: 
    


################################################################################
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