This patch increases maximum register size to 256 bytes to accommodate AArch64 SVE registers maximum possible size of 256 bytes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp | ||
|---|---|---|
| 2051 | Could we use the kMaxRegisterByteSize here? | |
Comment Actions
Sounds fairly noncontroversial. I don't think we have too many of these objects floating around, but if it turns out we do, we could switch to a SmallVector to optimize for the common case of smaller registers.
| lldb/include/lldb/Utility/RegisterValue.h | ||
|---|---|---|
| 264 | how about we stick to uint16_t here ? | |
| lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp | ||
| 2051 | An excellent idea. | |
Comment Actions
DataExtractor is used for caching register values on stop by gdb-remote register context. RegisterValue is mostly used for passing around register values temporarily during read/write.
| lldb/include/lldb/Utility/RegisterValue.h | ||
|---|---|---|
| 264 | ACK. | |
| lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp | ||
| 2051 | ACK. | |
how about we stick to uint16_t here ?