[Lldb-commits] [lldb] [lldb] Add missing calls to SetThreadHitBreakpointSite/DetectThreadStoppedAtUnexecutedBP (PR #128726)

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 26 13:06:45 PST 2025


jasonmolenda wrote:

Felipe and I have been discussing these mechanisms all this week, and one edge case would be a thread that hits a breakpoint instruction, and the bp has a thread ID match requirement which this thread doesn't satisfy.  In that scenario, the thread will not have an eStopReasonBreakpoint, but we still need to `SetThreadHitBreakpointSite()` here.  That information -- we hit a breakpoint but it's not applicable to this thread -- isn't explicitly recorded in the Thread object today.

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


More information about the lldb-commits mailing list