[Lldb-commits] [PATCH] D126983: [lldb] [llgs] Support "t" vCont action
Michał Górny via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 1 07:20:32 PDT 2022
mgorny added a comment.
I don't think we can reliably check whether additional threads aren't run then.
I have another idea that could work better if we could assume that the scheduler runs threads of the same process somehow evenly — or well, I suppose it'd be better in any case. Rather than stopping the process from LLDB, I could add a counter that issues SIGSTOP from inside the process after doing N (say, 5) prints. I suppose that should give it enough time for all threads to output something.
Just need to figure out a simple synchronization method to ensure that SIGSTOP is emitted only once.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126983/new/
https://reviews.llvm.org/D126983
More information about the lldb-commits
mailing list