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

via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 25 11:03:32 PDT 2025


jimingham wrote:

I guess you mean by "Giving the debugger a unique ID" you mean "unique across all instances of lldb past or present"...

I'm not sure why you really want that, for all the ones currently extant the combo of {lldb pid, debugger ID} would do.  Why do you care about not overlapping with defunct Debuggers?

In any case, whatever you call the debugger, {DebuggerID, TargetID} would still be universally unique if the debugger was and the Target ID was unique within a Debugger.  So it seems unnecessary work to make the Target's universally unique.

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


More information about the lldb-commits mailing list