[Lldb-commits] [lldb] [lldb] Add target groups for related targets (PR #229180)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 12 11:51:21 PDT 2026


================
@@ -387,6 +389,9 @@ void Target::SetREPL(lldb::LanguageType language, lldb::REPLSP repl_sp) {
 }
 
 void Target::Destroy() {
+  TargetSP target_sp = shared_from_this();
+  for (const TargetGroupSP &group_sp : GetTargetGroups())
----------------
clayborg wrote:

yes, please add a TargetGroupList::RemoveTarget() for this.

https://github.com/llvm/llvm-project/pull/229180


More information about the lldb-commits mailing list