summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
diff options
context:
space:
mode:
authorBalázs Benics <108414871+balazs-benics-sonarsource@users.noreply.github.com>2025-02-28 15:48:31 +0100
committerGitHub <noreply@github.com>2025-02-28 15:48:31 +0100
commitdea08c2b67f38dba707003374f41b2277ab564d4 (patch)
tree298c17718799af28109dc868aa90dcb88186235f /lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
parentdb973cea7cae3a14c89fc57ea3717b7313d24b97 (diff)
Fix RegionStore assertion failure after #127602 (#129224)
Basically, we may leave the loop because if exhaust the fields, array elements or other subobjects to initialize. In that case, the Bindings may be in an exhausted state, thus no further addBinding calls are allowed. Let's harden the code by sprinkling some early exists in the recursive dispatcher functions. And to actually fix the issue, I added a check guarding the single unguarded addBinding right after a loop I mentioned. Fixes #129211
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py')
0 files changed, 0 insertions, 0 deletions