[Lldb-commits] [PATCH] D110895: [lldb] Move ownership of analytics out of Target

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 30 17:00:56 PDT 2021


JDevlieghere created this revision.
JDevlieghere added reviewers: clayborg, labath, jingham.
Herald added a subscriber: yaxunl.
JDevlieghere requested review of this revision.

Move ownership of analytics out of Target and instead create a global Analytics singleton. This is necessary to allow LLDB to record metrics in contexts where a target either isn't available or doesn't make sense.
target).


https://reviews.llvm.org/D110895

Files:
  lldb/include/lldb/Target/Target.h
  lldb/include/lldb/Utility/Analytics.h
  lldb/source/API/SBTarget.cpp
  lldb/source/API/SystemInitializerFull.cpp
  lldb/source/Commands/CommandObjectExpression.cpp
  lldb/source/Commands/CommandObjectFrame.cpp
  lldb/source/Commands/CommandObjectStats.cpp
  lldb/source/Utility/Analytics.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110895.376400.patch
Type: text/x-patch
Size: 7696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211001/56829429/attachment.bin>


More information about the lldb-commits mailing list