[Lldb-commits] [lldb] [LLDB][NFC] Add accessor for SessionId (PR #142444)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 2 10:42:15 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Vy Nguyen (oontvoo)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/142444.diff
1 Files Affected:
- (modified) lldb/include/lldb/Core/Telemetry.h (+2)
``````````diff
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:
``````````
</details>
https://github.com/llvm/llvm-project/pull/142444
More information about the lldb-commits
mailing list