[all-commits] [llvm/llvm-project] 080692: [lldb] [test] Fix test_c_both_nonstop flakiness

Michał Górny via All-commits all-commits at lists.llvm.org
Mon Aug 1 09:53:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 080692797724eefd15de00500d8d802e98230622
      https://github.com/llvm/llvm-project/commit/080692797724eefd15de00500d8d802e98230622
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2022-08-01 (Mon, 01 Aug 2022)

  Changed paths:
    M lldb/test/API/tools/lldb-server/TestGdbRemoteForkNonStop.py

  Log Message:
  -----------
  [lldb] [test] Fix test_c_both_nonstop flakiness

Thanks to Pavel Labath for reporting this and suggesting a fix.

Sponsored by: The FreeBSD Foundation


  Commit: f8603c1f6d9eb90bc6a674111bd3441458006601
      https://github.com/llvm/llvm-project/commit/f8603c1f6d9eb90bc6a674111bd3441458006601
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2022-08-01 (Mon, 01 Aug 2022)

  Changed paths:
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
    M lldb/test/API/tools/lldb-server/TestGdbRemoteForkNonStop.py

  Log Message:
  -----------
  [lldb] [llgs] Support resuming multiple processes via vCont w/ nonstop

Support using the vCont packet to resume multiple processes
simultaneously when in non-stop mode.  The new logic now assumes that:

- actions without a thread-id or with process id of "p-1" apply to all
  debugged processes

- actions with a thread-id without process id apply to the current
  process (m_continue_process)

As with the other continue packets, it is only possible to resume
processes that are currently stopped (or stop these that are running).
It is unsupported to resume or stop individual threads of a running
process.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.llvm.org/D128989


Compare: https://github.com/llvm/llvm-project/compare/ad8db972b0d5...f8603c1f6d9e


More information about the All-commits mailing list