Page MenuHomePhabricator

[lldb] [lit] Introduce tests for writing x86 general-purpose registers
ClosedPublic

Authored by mgorny on Apr 27 2019, 2:06 AM.

Details

Summary

Introduce two initial tests for 'register write' command. The tests
first clobber x86 general purpose registers, then call int3 to let lldb
write to them, then print the new values. FileCheck takes care of
verifying whether correct values were written.

Event Timeline

mgorny created this revision.Apr 27 2019, 2:06 AM
labath accepted this revision.Apr 29 2019, 1:02 AM

This is great stuff. Thanks for doing this.

This revision is now accepted and ready to land.Apr 29 2019, 1:02 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 29 2019, 4:37 AM
Herald added a subscriber: teemperor. · View Herald Transcript