[Lldb-commits] [lldb] [lldb] New expedited register specfication for unavailable regs (PR #193894)
Jason Molenda via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 27 22:49:18 PDT 2026
jasonmolenda wrote:
Hmm, not quite, reg write s0 will only send the low 32 bits to debugserver, I'm surprised it doesn't send the full primordial (which it hasn't fetched)
```
<reg name="v0" regnum="63" offset="268" bitsize="128" group="vector" type="float" altname="q0" encoding="vector" format="vector-uint8" group_id="2" dwarf_regnum="64" invalidate_regnums="164,63,97,129"/>
<reg name="d0" regnum="97" offset="788" bitsize="64" group="float" type="float" encoding="ieee754" format="float" group_id="2" invalidate_regnums="164,63,97,129"/>
<reg name="s0" regnum="129" offset="1044" bitsize="32" group="float" type="float" encoding="ieee754" format="float" group_id="2" invalidate_regnums="164,63,97,129"/>
(lldb) reg write s0 5
< 31> send packet: $P81=0000a040;thread:5432aa;#63
< 6> read packet: $OK#00
(lldb) reg read s0
< 22> send packet: $p81;thread:5432aa;#91
< 12> read packet: $0000a040#00
s0 = 5
(lldb) reg read d0
< 22> send packet: $p61;thread:5432aa;#8f
< 20> read packet: $0000a04000000000#00
d0 = 5.3567960152785439E-315
```
https://github.com/llvm/llvm-project/pull/193894
More information about the lldb-commits
mailing list