Skip to content

[LLDB][NFC] Add accessor for SessionId #142444

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 2, 2025
Merged

[LLDB][NFC] Add accessor for SessionId #142444

merged 1 commit into from
Jun 2, 2025

Conversation

oontvoo
Copy link
Member

@oontvoo oontvoo commented Jun 2, 2025

No description provided.

@oontvoo oontvoo requested a review from JDevlieghere as a code owner June 2, 2025 17:41
@llvmbot llvmbot added the lldb label Jun 2, 2025
@llvmbot
Copy link
Member

llvmbot commented Jun 2, 2025

@llvm/pr-subscribers-lldb

Author: Vy Nguyen (oontvoo)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/142444.diff

1 Files Affected:

  • (modified) lldb/include/lldb/Core/Telemetry.h (+2)
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:

@oontvoo oontvoo merged commit 88c1403 into llvm:main Jun 2, 2025
9 of 11 checks passed
sallto pushed a commit to sallto/llvm-project that referenced this pull request Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants