[Lldb-commits] [lldb] [lldb] Add support for unique target ids (PR #160736)

via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 25 10:46:53 PDT 2025


================
@@ -344,6 +346,8 @@ Status TargetList::CreateTargetInternal(Debugger &debugger,
   if (!target_sp)
     return error;
 
+  target_sp->m_target_unique_id = ++g_target_unique_id;
----------------
jimingham wrote:

Yes, this seems much simpler to me, and I see no reason to delay assigning the Target's unique ID.

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


More information about the lldb-commits mailing list