Skip to content

Commit 076039a

Browse files
XiaodongLoongIan Lance Taylor
authored andcommitted
cmd/nm, cmd/objdump, cmd/pprof: disassembly is not supported on loong64
Contributors to the loong64 port are: Weining Lu <[email protected]> Lei Wang <[email protected]> Lingqin Gong <[email protected]> Xiaolin Zhao <[email protected]> Meidan Li <[email protected]> Xiaojuan Zhai <[email protected]> Qiyuan Pu <[email protected]> Guoqi Chen <[email protected]> This port has been updated to Go 1.15.6: https://github.com/loongson/go Updates #46229 Change-Id: Ic96e4f0c46d9a6b8cd020e899f32c40681daf9c5 Reviewed-on: https://go-review.googlesource.com/c/go/+/342323 Run-TryBot: Ian Lance Taylor <[email protected]> Reviewed-by: David Chase <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]>
1 parent afd181c commit 076039a

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

src/cmd/nm/nm_cgo_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func canInternalLink() bool {
2424
}
2525
case "linux":
2626
switch runtime.GOARCH {
27-
case "arm64", "mips64", "mips64le", "mips", "mipsle", "ppc64", "ppc64le", "riscv64":
27+
case "arm64", "loong64", "mips64", "mips64le", "mips", "mipsle", "ppc64", "ppc64le", "riscv64":
2828
return false
2929
}
3030
case "openbsd":

src/cmd/objdump/objdump_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ var ppcGnuNeed = []string{
107107

108108
func mustHaveDisasm(t *testing.T) {
109109
switch runtime.GOARCH {
110+
case "loong64":
111+
t.Skipf("skipping on %s", runtime.GOARCH)
110112
case "mips", "mipsle", "mips64", "mips64le":
111113
t.Skipf("skipping on %s, issue 12559", runtime.GOARCH)
112114
case "riscv64":

src/cmd/pprof/pprof_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ func mustHaveCPUProfiling(t *testing.T) {
7272

7373
func mustHaveDisasm(t *testing.T) {
7474
switch runtime.GOARCH {
75+
case "loong64":
76+
t.Skipf("skipping on %s.", runtime.GOARCH)
7577
case "mips", "mipsle", "mips64", "mips64le":
7678
t.Skipf("skipping on %s, issue 12559", runtime.GOARCH)
7779
case "riscv64":

0 commit comments

Comments
 (0)