[Lldb-commits] [PATCH] D129012: [lldb] [test] Improve stability of llgs vCont-threads tests

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Jul 3 04:02:28 PDT 2022


mgorny updated this revision to Diff 441940.
mgorny added a comment.

Ok, unsurprisingly it turned out that using `exit()` when the main thread was potentially suspended was a bad idea (at least it was still fairly unstable on FreeBSD). I've managed to get around that by using `_exit()` but if you think just `raise(SIGSTOP)` would be preferred, I can change the tests to use that.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129012/new/

https://reviews.llvm.org/D129012

Files:
  lldb/test/API/tools/lldb-server/vCont-threads/TestGdbRemote_vContThreads.py
  lldb/test/API/tools/lldb-server/vCont-threads/TestPartialResume.py
  lldb/test/API/tools/lldb-server/vCont-threads/TestSignal.py
  lldb/test/API/tools/lldb-server/vCont-threads/main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129012.441940.patch
Type: text/x-patch
Size: 11959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220703/f848dcbb/attachment.bin>


More information about the lldb-commits mailing list