[Lldb-commits] [lldb] [lldb] Add target groups for related targets (PR #229180)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 12 09:53:51 PDT 2026
================
@@ -2073,7 +2073,15 @@ class Target : public std::enable_shared_from_this<Target>,
/// Print all the signals set in this target.
void PrintDummySignals(Stream &strm, Args &signals);
+ /// Return the target groups this target belongs to.
+ std::vector<lldb::TargetGroupSP> GetTargetGroups() const;
+
protected:
+ friend class TargetGroup;
+
+ void AddTargetGroup(const lldb::TargetGroupSP &group_sp);
----------------
jimingham wrote:
This should only be called by TargetGroup::AddTarget, right? Maybe make a comment to that effect?
https://github.com/llvm/llvm-project/pull/229180
More information about the lldb-commits
mailing list