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

GitOrigin-RevId: 8b7775a472e3665dc0a9e5953f84c43da295eddd
1 file changed