[Sampling profiler] Record frame from context before unwinding (Mac)
The frame that's currently executing can be immediately recorded from the values in the register context, independent of any unwinding. This change separates the initial frame recording from the recording within the native unwinding, which will be required to support restarting native unwinding after v8 unwinding. Also adds comments documenting the overall structure of the frame unwind algorithm. Bug: 909957 Change-Id: I981fe7c7c8b6019d8fc34dcdb08c22ec744b08ed Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1540314 Commit-Queue: Mike Wittman <wittman@chromium.org> Reviewed-by:Leonard Grey <lgrey@chromium.org> Cr-Commit-Position: refs/heads/master@{#645310}
Showing
Please register or sign in to comment