[Lldb-commits] [lldb] [lldb][debugserver] Interrupt should reset outstanding SIGSTOP (PR #132128)

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 20 13:29:50 PDT 2025


================
@@ -1594,6 +1594,10 @@ static uint64_t bits(uint64_t value, uint32_t msbit, uint32_t lsbit) {
                          m_sent_interrupt_signo);
       }
     } else {
+      // We've requested that the process stop anew; if we had recorded this
+      // requested stop as being in place when we resumed (& therefore would
+      // throw it away), clear that.
+      m_auto_resume_signo = 0;
----------------
jasonmolenda wrote:

Yeah, you added that lock when you were addressing TSAN issues, it's definitely required.

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


More information about the lldb-commits mailing list