[Lldb-commits] [PATCH] D61221: [lldb] [lit] Introduce tests for writing x86 general-purpose registers

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sat Apr 27 02:07:27 PDT 2019


mgorny created this revision.
mgorny added reviewers: labath, JDevlieghere, krytarowski.

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.


https://reviews.llvm.org/D61221

Files:
  lldb/lit/Register/Inputs/x86-64-gp-write.cpp
  lldb/lit/Register/Inputs/x86-gp-write.cpp
  lldb/lit/Register/x86-64-gp-write.test
  lldb/lit/Register/x86-gp-write.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61221.196954.patch
Type: text/x-patch
Size: 5618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190427/72700c76/attachment.bin>


More information about the lldb-commits mailing list