Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/coreclr/nativeaot/Runtime/StackFrameIterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2072,6 +2072,10 @@ void StackFrameIterator::UnwindNonEHThunkSequence()
// The iterator has reached the next managed frame. Publish the computed lower bound value.
ASSERT(m_pConservativeStackRangeLowerBound == NULL);
m_pConservativeStackRangeLowerBound = pLowestLowerBound;

// The active frame was the thunk we just unwound through, not the managed caller. Do not
// report scratch registers from the caller's post-call GC state until the thunk has completed.
m_dwFlags &= ~ActiveStackFrame;
}

// This function is called immediately before a given frame is yielded from the iterator
Expand Down
Loading