summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/debugger/TestDebuggerAPI.py
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2022-03-17 13:12:36 -0400
committerMatt Arsenault <Matthew.Arsenault@amd.com>2022-04-12 19:02:48 -0400
commiteefed1dbf053f0a16e4c431688cafb02c99cbb7d (patch)
treec959621d77568ee50393bd6e5c44a2dd42d66a6b /lldb/test/API/python_api/debugger/TestDebuggerAPI.py
parentdfffb7df24edee4fc9cb1fac82cff6cd1df1a347 (diff)
RegAllocGreedy: Roll back successful recolorings on failure
This is a replacement for the original fix attempted in c46aab01c002b7a04135b8b7f1f52d8c9ae23a58. This fixes "overlapping insert" assertion failures when trying to unwind an unsuccessful recoloring attempt. The problem would occur when there are multiple recoloring candidates which recursively required recoloring. If one recoloring candidate was successfully recolored at one level, and the next recoloring candidate was unsuccessful, we would not roll back the first candidates successful recoloring. The forgotten successful recoloring may have been assigned to something that conflicts with a register that needs to be restored in a parent recoloring attempt. See the testcase added in issue48473 for a more concrete example with explanation.
Diffstat (limited to 'lldb/test/API/python_api/debugger/TestDebuggerAPI.py')
0 files changed, 0 insertions, 0 deletions