[lldb] [lit] Introduce tests for writing x86 general-purpose registers
authorMichal Gorny <mgorny@gentoo.org>
Mon, 29 Apr 2019 11:38:28 +0000 (11:38 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Mon, 29 Apr 2019 11:38:28 +0000 (11:38 +0000)
commit8507d4f48a79ebc3e46dfb515e497c0dae19e3d7
tree77c916b0f4954e31645579e5fc5fe89248f0235f
parenteb279bcedea1a332f88a55421a02032b6a2ee672
[lldb] [lit] Introduce tests for writing x86 general-purpose registers

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.

Differential Revision: https://reviews.llvm.org/D61221

llvm-svn: 359441
lldb/lit/Register/Inputs/x86-64-gp-write.cpp [new file with mode: 0644]
lldb/lit/Register/Inputs/x86-gp-write.cpp [new file with mode: 0644]
lldb/lit/Register/x86-64-gp-write.test [new file with mode: 0644]
lldb/lit/Register/x86-gp-write.test [new file with mode: 0644]