[Lldb-commits] [lldb] Avoid expression evaluation in libStdC++ std::vector<bool> synthetic children provider (PR #108414)

via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 12 15:01:53 PDT 2024


jimingham wrote:

BTW, I agree that the "run one thread, then run all threads" strategy is unfortunate.  But I can't think of a better way to do that that's likely to be supported on all platforms.  It might be good at some point to add a "Lock detection plugin" that could provide enough information to be able to work our way past locking issues without requiring this strategy.  That's bound to be system specific, so it needs to be a plugin.  But I'm not sanguine that would be implementable on all platforms, so we're likely stuck with the current strategy.

The next stage in your "run single thread with timeout" feature would be to remove RunThreadPlan from Process and replace that with your new machinery.  That will at least make the code shared and easier to work on.

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


More information about the lldb-commits mailing list