~itachi-san/telegram-desktop/breakpad

Viewing all changes in revision 1816.

  • Committer: Joshua Peraza
  • Author(s): Sim Sun
  • Date: 2020-01-21 16:57:57 UTC
  • Revision ID: git-v1:13c1568702e8804bc3ebcfbb435a2786a3e335cf
arm64: recover register X30(LR) when fallback to frame pointer unwinder

Stackwalk can't recover caller's register X30($LR) value by STACK CFI info.
This will lead unwinding stop immediately when fallback to frame pointer unwinder.

This PR will use try to use second last frame to recover register X30($LR) by frame pointer.
And we will give up correction if STACK CFI info doesn't agree with frame pointer info.

Bug: https://bugs.chromium.org/p/google-breakpad/issues/detail?id=808
Change-Id: I50649e3398e268b02ff297e83db21d05705c2a2d
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1992641
Reviewed-by: Joshua Peraza <jperaza@chromium.org>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: