[lldb] Start from end of previous substr when checking ordered substrs
authorArthur Eubanks <aeubanks@google.com>
Wed, 12 Oct 2022 23:07:44 +0000 (16:07 -0700)
committerArthur Eubanks <aeubanks@google.com>
Fri, 14 Oct 2022 18:16:51 +0000 (11:16 -0700)
commit021a3d5a3f73c59d7e43857c0230e07fa602d948
tree2569ac39061942adb92ed14f5e74a0a87fb337c6
parent2c7b7eca85c2ccc9b0d5c65169213ce499652f92
[lldb] Start from end of previous substr when checking ordered substrs

I'm trying to add a test which tests that the same substr occurs twice in a row, but it matches even if only one of the substr occurs.

This found a bug in concurrent_base.py.

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D135826
lldb/packages/Python/lldbsuite/test/concurrent_base.py
lldb/packages/Python/lldbsuite/test/lldbtest.py
lldb/test/API/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py