[all-commits] [llvm/llvm-project] 79a8e0: [lldb] Fix data race in Process

Augusto Noronha via All-commits all-commits at lists.llvm.org
Fri Aug 18 17:09:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79a8e006dbc4ea281e9ec5933f484e476db3d9ab
      https://github.com/llvm/llvm-project/commit/79a8e006dbc4ea281e9ec5933f484e476db3d9ab
  Author: Augusto Noronha <augusto2112 at me.com>
  Date:   2023-08-18 (Fri, 18 Aug 2023)

  Changed paths:
    M lldb/include/lldb/Target/Process.h
    M lldb/source/Target/Process.cpp

  Log Message:
  -----------
  [lldb] Fix data race in Process

Thread sanitizer reports a data race in Process.cpp in the usage of
m_process_input_reader. Fix this data race by introducing a mutex
guarding the access to this variable.

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




More information about the All-commits mailing list