mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/objdump: add arm disassembler
Fixes #7452. LGTM=minux, iant R=minux, iant CC=golang-codereviews https://golang.org/cl/104770046
This commit is contained in:
parent
300f3c4913
commit
9f2dfb856e
4 changed files with 10868 additions and 17 deletions
|
|
@ -140,7 +140,7 @@ var x86Need = []string{
|
|||
var armNeed = []string{
|
||||
"fmthello.go:6",
|
||||
"TEXT main.main(SB)",
|
||||
"B main.main(SB)",
|
||||
"B.LS main.main(SB)",
|
||||
"BL fmt.Println(SB)",
|
||||
"RET",
|
||||
}
|
||||
|
|
@ -172,7 +172,6 @@ func TestDisasm(t *testing.T) {
|
|||
need = append(need, x86Need...)
|
||||
case "arm":
|
||||
need = append(need, armNeed...)
|
||||
t.Skip("disassembler not ready on arm yet")
|
||||
}
|
||||
|
||||
out, err = exec.Command(exe, "-s", "main.main", hello).CombinedOutput()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue