aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2023-03-01 11:03:01 +0000
committerDavid Spickett <david.spickett@linaro.org>2023-06-21 08:48:18 +0000
commitba85f206fe6f2fec9dd5fee55bf2a1e966fc37aa (patch)
tree04f8cc9825008ca4e6db2946aa5b0a7c81ac5439 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parentedc9e2c26779e878874726243bc5d9c3b4ea1210 (diff)
downloadllvm-ba85f206fe6f2fec9dd5fee55bf2a1e966fc37aa.zip
llvm-ba85f206fe6f2fec9dd5fee55bf2a1e966fc37aa.tar.gz
llvm-ba85f206fe6f2fec9dd5fee55bf2a1e966fc37aa.tar.bz2
[lldb] Add "register info" command
This adds a new command that will show all the information lldb knows about a register. ``` (lldb) register info s0 Name: s0 Size: 4 bytes (32 bits) Invalidates: v0, d0 Read from: v0 In sets: Floating Point Registers (index 1) ``` Currently it only allows a single register, and we get the information from the RegisterInfo structure. For those of us who know the architecture well, this information is all pretty obvious. For those who don't, it's nice to have it at a glance without leaving the debugger. I hope to have more in depth information to show here in the future, which will be of wider use. Reviewed By: jasonmolenda Differential Revision: https://reviews.llvm.org/D152916
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions