Skip to content

Commit 64421c1

Browse files
committed
Take the shared mutex where needed in GetNumFrames.
1 parent 7df3d99 commit 64421c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Target/StackFrameList.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ bool StackFrameList::FetchFramesUpTo(uint32_t end_idx,
576576
}
577577

578578
uint32_t StackFrameList::GetNumFrames(bool can_create) {
579-
if (!GetAllFramesFetched() && can_create) {
579+
if (!WereAllFramesFetched() && can_create) {
580580
// Don't allow interrupt or we might not return the correct count
581581
GetFramesUpTo(UINT32_MAX, DoNotAllowInterruption);
582582
}

0 commit comments

Comments
 (0)