[all-commits] [llvm/llvm-project] dca2bc: Add a mutex to the ThreadPlanStackMap class.

jimingham via All-commits all-commits at lists.llvm.org
Fri Apr 29 11:08:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dca2bc408186667346ab3bbb951adab44feba5bd
      https://github.com/llvm/llvm-project/commit/dca2bc408186667346ab3bbb951adab44feba5bd
  Author: Jim Ingham <jingham at apple.com>
  Date:   2022-04-29 (Fri, 29 Apr 2022)

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

  Log Message:
  -----------
  Add a mutex to the ThreadPlanStackMap class.
We've seen very occasional crashes that we can only explain by
simultaneous access to the ThreadPlanStackMap, so I'm adding a
mutex to protect it.

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




More information about the All-commits mailing list