[Lldb-commits] [lldb] [lldb/test] Add yield to spin loop in thread_filter test (PR #191025)

Dmitry Vasilyev via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 8 12:07:57 PDT 2026


slydiman wrote:

The Windows worker is busy now, so we will see the results of the buildbot [lldb-x86_64-win](https://lab.llvm.org/buildbot/#/builders/211) later. 
But I have reproduced the issue locally. std::this_thread::yield() did not help. I have added the logging to the test and got only 2 threads stopped:
```
        while bkpt.GetHitCount() < 3:
            // hit this point 2 times and then timeout
            process.Continue()
```
I tried to add logging to main.cpp and just adding `#include <stdio>` resolves the issue on Windows.
I don't know why for now. 

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


More information about the lldb-commits mailing list