From: Xiaodong Liu Date: Thu, 19 May 2022 12:01:10 +0000 (+0800) Subject: runtime: add loong64 to architectures known to TestGCInfo X-Git-Tag: go1.19beta1~156 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ed7c487178fb0abdf7cecc9d3368c65ab96ca584;p=gostls13.git runtime: add loong64 to architectures known to TestGCInfo Contributors to the loong64 port are: Weining Lu Lei Wang Lingqin Gong Xiaolin Zhao Meidan Li Xiaojuan Zhai Qiyuan Pu Guoqi Chen This port has been updated to Go 1.15.6: https://github.com/loongson/go Updates #46229 Change-Id: I61bef32b38ab07543a147cf172b169eae21b26cf Reviewed-on: https://go-review.googlesource.com/c/go/+/368082 Reviewed-by: Michael Knyszek Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor TryBot-Result: Gopher Robot Run-TryBot: Ian Lance Taylor --- diff --git a/src/runtime/gcinfo_test.go b/src/runtime/gcinfo_test.go index a0be7adaf7..787160dc27 100644 --- a/src/runtime/gcinfo_test.go +++ b/src/runtime/gcinfo_test.go @@ -157,7 +157,7 @@ func infoBigStruct() []byte { typeScalar, typeScalar, typeScalar, typeScalar, // t int; y uint16; u uint64 typePointer, typeScalar, // i string } - case "arm64", "amd64", "mips64", "mips64le", "ppc64", "ppc64le", "riscv64", "s390x", "wasm": + case "arm64", "amd64", "loong64", "mips64", "mips64le", "ppc64", "ppc64le", "riscv64", "s390x", "wasm": return []byte{ typePointer, // q *int typeScalar, typeScalar, typeScalar, // w byte; e [17]byte