https://github.com/bulbazord requested changes to this pull request.

Instead of assuming the thread's index or index ID, it might be a good idea to 
have a little helper method that can look through the inferior's threads to 
find the thread with the property that we care about. In this case, we're 
looking for the thread that's stopped in a specific module (`a.out` in this 
case).

Concurrency and thread order is not guaranteed to be stable, even if in 
practice they end up being that way on some platforms. The less we can rely on 
specific indices or IDs that "should" be correct, the better.

https://github.com/llvm/llvm-project/pull/96685
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to