[Lldb-commits] [PATCH] D89248: [lldb] [test/Register] Add read/write tests for multithreaded process
Michał Górny via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 12 09:17:18 PDT 2020
mgorny created this revision.
mgorny added reviewers: labath, krytarowski, emaste.
Herald added a subscriber: arichardson.
mgorny requested review of this revision.
Add a test to verify that 'register read' and 'register write' commands
work correctly in a multithreaded program, in particular that they read
or write registers for the correct thread. The tests use locking
to ensure that events are serialized and the test can execute reliably.
// NB: I am going to use this test for initial thread support in FreeBSDRemote.
https://reviews.llvm.org/D89248
Files:
lldb/test/Shell/Register/Inputs/x86-multithread-read.cpp
lldb/test/Shell/Register/Inputs/x86-multithread-write.cpp
lldb/test/Shell/Register/x86-multithread-read.test
lldb/test/Shell/Register/x86-multithread-write.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89248.297610.patch
Type: text/x-patch
Size: 5433 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201012/16a4dbfb/attachment-0001.bin>
More information about the lldb-commits
mailing list