Fix incorrect direction for bit-shifting.
Coverity warning 1355603 (scan.coverity.com)
Differential D130307
[LLDB][Reliability] Fix register value unpacking fixathon on Jul 21 2022, 2:42 PM. Authored by
Details Fix incorrect direction for bit-shifting. Coverity warning 1355603 (scan.coverity.com)
Diff Detail
Event TimelineComment Actions Thanks! I'm bothered that no test hit this but I deal with that (it's probably because no instruction you'd need to emulate uses these registers). Comment Actions So I looked into what *should* be testing this and if it was done comprehensively it would have been testing it. However the Arm emulation tests:
I got some way into fixing that and found ~50 tests that use memory but don't verify the content. Which is to say, yes this can and should have been tested :) I will put up some patches shortly to build on this and maybe make the memory checking optional. Then this can be tested, and I'll work towards adding memory checks to the other tests over time. So hold off on landing while I come up with that. |