[all-commits] [llvm/llvm-project] 9a1ce3: [lldb] [Process/FreeBSD] Set current thread ID on ...

Michał Górny via All-commits all-commits at lists.llvm.org
Wed Jan 12 06:40:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a1ce35d7e7fdfa6d45fb24abc3ad30e8eb6c6f4
      https://github.com/llvm/llvm-project/commit/9a1ce35d7e7fdfa6d45fb24abc3ad30e8eb6c6f4
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2022-01-12 (Wed, 12 Jan 2022)

  Changed paths:
    M lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp

  Log Message:
  -----------
  [lldb] [Process/FreeBSD] Set current thread ID on events

Set the current thread ID to the thread where an event happened.
As a result, e.g. when a signal is delivered to a thread other than
the first one, the respective T packet refers to the signaled thread
rather than the first thread (with no stop reason).  While this doesn't
strictly make a difference to the LLDB client, it is the expected
behavior.

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




More information about the All-commits mailing list