[all-commits] [llvm/llvm-project] caedbc: [lldb] [test/Register] Add read/write tests for mu...

Michał Górny via All-commits all-commits at lists.llvm.org
Wed Oct 14 02:09:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: caedbc317a5a4f046c345c136387e3ca199d8503
      https://github.com/llvm/llvm-project/commit/caedbc317a5a4f046c345c136387e3ca199d8503
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    A lldb/test/Shell/Register/Inputs/x86-multithread-read.cpp
    A lldb/test/Shell/Register/Inputs/x86-multithread-write.cpp
    A lldb/test/Shell/Register/x86-multithread-read.test
    A lldb/test/Shell/Register/x86-multithread-write.test

  Log Message:
  -----------
  [lldb] [test/Register] Add read/write tests for multithreaded process

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.

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




More information about the All-commits mailing list