mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/internal/objfile, debug/macho: support disassembling arm64 Mach-O objects
Fixes #25423 Change-Id: I6bed0726b8f4c7d607a3df271b2ab1006e96fa75 Reviewed-on: https://go-review.googlesource.com/113356 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
dbd66fd3d0
commit
ca3364836f
2 changed files with 4 additions and 0 deletions
|
|
@ -113,6 +113,8 @@ func (f *machoFile) goarch() string {
|
|||
return "amd64"
|
||||
case macho.CpuArm:
|
||||
return "arm"
|
||||
case macho.CpuArm64:
|
||||
return "arm64"
|
||||
case macho.CpuPpc64:
|
||||
return "ppc64"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue