Rifet-c wrote:
This change aims at improving readability of `register read` command of lldb
for custom architectures with register names of various lengths. Though, it
improves standard architectures as well, for example it led to the following
change:
```
rip = 0x00000000004011af hello_default`main + 15 at main.cpp:4:15
rflags = 0x0000000000000206
cs = 0x0000000000000033
fs = 0x0000000000000000
gs = 0x0000000000000000
ss = 0x000000000000002b
fs_base = 0x00007ffff7fe3f40
gs_base = 0x0000000000000000
ds = 0x0000000000000000
es = 0x0000000000000000
```
Became
```
rip = 0x00005555555551af hello`main + 15 at main.cpp:4:15
rflags = 0x0000000000000202
cs = 0x0000000000000033
fs = 0x0000000000000000
gs = 0x0000000000000000
ss = 0x000000000000002b
fs_base = 0x00007ffff7fe3f40
gs_base = 0x0000000000000000
ds = 0x0000000000000000
es = 0x0000000000000000
```
https://github.com/llvm/llvm-project/pull/188049
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits