forked from OSchip/llvm-project
When you reach the bottom of the inlined stack, don't say you can do a virtual step.
llvm-svn: 163341
This commit is contained in:
parent
46ef1807fc
commit
9786eeeb6f
|
@ -189,8 +189,10 @@ StackFrameList::DecrementCurrentInlinedDepth ()
|
|||
if (current_inlined_depth != UINT32_MAX)
|
||||
{
|
||||
if (current_inlined_depth > 0)
|
||||
{
|
||||
m_current_inlined_depth--;
|
||||
return true;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
@ -318,6 +320,9 @@ StackFrameList::GetFramesUpTo(uint32_t end_idx)
|
|||
{
|
||||
StackFrameList *prev_frames = m_prev_frames_sp.get();
|
||||
StackFrameList *curr_frames = this;
|
||||
|
||||
curr_frames->m_current_inlined_depth = prev_frames->m_current_inlined_depth;
|
||||
curr_frames->m_current_inlined_pc = prev_frames->m_current_inlined_pc;
|
||||
|
||||
#if defined (DEBUG_STACK_FRAMES)
|
||||
s.PutCString("\nprev_frames:\n");
|
||||
|
|
Loading…
Reference in New Issue