This is an archive of the discontinued LLVM Phabricator instance.

[LLDB][ARM] Extend testing for vpush emulation
ClosedPublic

Authored by DavidSpickett on Aug 11 2022, 2:51 AM.

Details

Summary

https://reviews.llvm.org/D131658 found a bug in
ReadPseudoRegisterValue which would mean we read out
of bounds if the s register number was high enough.

This adds a memory check to vpush-1-thumb, which
should have been doing that anyway. Then copies that
test and uses the last 4 s registers instead.

Without the mentioned fix we see random values in
the final memory, with the fix it passes.

Diff Detail

Event Timeline

DavidSpickett created this revision.Aug 11 2022, 2:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 11 2022, 2:51 AM
DavidSpickett requested review of this revision.Aug 11 2022, 2:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 11 2022, 2:51 AM
fixathon accepted this revision.Aug 11 2022, 2:54 AM

Thank you for adding this test!

This revision is now accepted and ready to land.Aug 11 2022, 2:54 AM
This revision was automatically updated to reflect the committed changes.