[all-commits] [llvm/llvm-project] 8b7775: StackFrame::GetValueObjectForFrameVariable holds t...

jimingham via All-commits all-commits at lists.llvm.org
Tue Jul 26 10:13:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b7775a472e3665dc0a9e5953f84c43da295eddd
      https://github.com/llvm/llvm-project/commit/8b7775a472e3665dc0a9e5953f84c43da295eddd
  Author: Jim Ingham <jingham at apple.com>
  Date:   2022-07-26 (Tue, 26 Jul 2022)

  Changed paths:
    M lldb/source/Target/StackFrame.cpp

  Log Message:
  -----------
  StackFrame::GetValueObjectForFrameVariable holds the StackFrame lock too long.

This can cause a deadlock if other threads use the common pattern of
"lock the StackFrameList, get a frame, lock the StackFrame."

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




More information about the All-commits mailing list