Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime: not mark save_g NOFRAME on ARM
On ARM, when GOARM<=6 the TLS pointer is fetched via a call to a kernel helper. This call clobbers LR, even just temporarily. If the function is NOFRAME, if a profiling signal lands right after the call returns, the unwinder will find the wrong LR. Not mark it NOFRAME, so the LR will be saved in the usual way and stack unwinding should work. May fix #52829. Change-Id: I419a31dcf4afbcff8d7ab8f179eec3c477589e60 Reviewed-on: https://go-review.googlesource.com/c/go/+/405482 TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Run-TryBot: Cherry Mui <[email protected]>
- Loading branch information