mirror of
https://github.com/golang/go
synced 2024-11-11 20:20:23 -07:00
cmd/internal/objabi: enable frame-pointer for iOS arm64
This improves stack unwinding of Go code running on iOS arm64.
Change-Id: I0494f750c15dcb895f9d4a072352f050d731df17
GitHub-Last-Rev: 435a2a1690
GitHub-Pull-Request: golang/go#37403
Reviewed-on: https://go-review.googlesource.com/c/go/+/220588
Run-TryBot: Elias Naur <mail@eliasnaur.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
This commit is contained in:
parent
e92be18fd8
commit
ec177e4c83
@ -134,7 +134,7 @@ func init() {
|
||||
}
|
||||
|
||||
func Framepointer_enabled(goos, goarch string) bool {
|
||||
return framepointer_enabled != 0 && (goarch == "amd64" || goarch == "arm64" && goos == "linux")
|
||||
return framepointer_enabled != 0 && (goarch == "amd64" || goarch == "arm64" && (goos == "linux" || goos == "darwin"))
|
||||
}
|
||||
|
||||
func addexp(s string) {
|
||||
|
Loading…
Reference in New Issue
Block a user