StackFrame::GetValueObjectForFrameVariable holds the StackFrame lock too long.
authorJim Ingham <jingham@apple.com>
Tue, 26 Jul 2022 17:11:16 +0000 (10:11 -0700)
committerJim Ingham <jingham@apple.com>
Tue, 26 Jul 2022 17:13:19 +0000 (10:13 -0700)
commit8b7775a472e3665dc0a9e5953f84c43da295eddd
treea9692f5f315406b0eb478c2164977a6bfd700e7c
parent8348c4095600ec2c0beee293267832799d2ebee3
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
lldb/source/Target/StackFrame.cpp