Commit d402645
authored
[LLDB] On AArch64, reconfigure register context first (#70742)
On an SVE/SME the register context configuration may change after the
inferior process has executed. This was handled via
https://reviews.llvm.org/D159504 but it is reconfiguring and clearing
the register context after we've parsed any expedited reigster values
from the stop reply packet. That results in lldb having to read each
register value one at a time while at that stop location, which will be
a performance problem on non-local debug setups.
The configuration & clearing needs to happen first. Also, update the
names of the local variables for a little clarity.1 parent d4a885f commit d402645
File tree
1 file changed
+16
-18
lines changed- lldb/source/Plugins/Process/gdb-remote
1 file changed
+16
-18
lines changedLines changed: 16 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1642 | 1642 | | |
1643 | 1643 | | |
1644 | 1644 | | |
1645 | | - | |
| 1645 | + | |
1646 | 1646 | | |
1647 | | - | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
1648 | 1661 | | |
1649 | 1662 | | |
1650 | 1663 | | |
| |||
1655 | 1668 | | |
1656 | 1669 | | |
1657 | 1670 | | |
1658 | | - | |
| 1671 | + | |
1659 | 1672 | | |
1660 | 1673 | | |
1661 | 1674 | | |
1662 | | - | |
1663 | | - | |
1664 | | - | |
1665 | | - | |
1666 | | - | |
1667 | | - | |
1668 | | - | |
1669 | | - | |
1670 | | - | |
1671 | | - | |
1672 | | - | |
1673 | | - | |
1674 | | - | |
1675 | | - | |
1676 | | - | |
1677 | 1675 | | |
1678 | 1676 | | |
1679 | 1677 | | |
| |||
0 commit comments