diff options
author | Sim Sun <sunsj1231@gmail.com> | 2020-01-14 21:48:37 -0800 |
---|---|---|
committer | Joshua Peraza <jperaza@chromium.org> | 2020-01-21 16:57:57 +0000 |
commit | 13c1568702e8804bc3ebcfbb435a2786a3e335cf (patch) | |
tree | 3787cd4d2a2b2f510acd6565f1635883ea8ea8c5 /src/common/mac/macho_walker.h | |
parent | Extract the exception record from the minidump (diff) | |
download | breakpad-13c1568702e8804bc3ebcfbb435a2786a3e335cf.tar.xz |
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>
Diffstat (limited to 'src/common/mac/macho_walker.h')
0 files changed, 0 insertions, 0 deletions