]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile/internal/ssa: enable testcases TestDebugLinesPushback and TestDebugLinesC...
authorlimeidan <limeidan@loongson.cn>
Tue, 12 Mar 2024 11:55:39 +0000 (19:55 +0800)
committerGopher Robot <gobot@golang.org>
Wed, 14 Aug 2024 18:05:09 +0000 (18:05 +0000)
Change-Id: Id5c12c9edf278f2419900ebbfb0b7f388bafc9b1
Reviewed-on: https://go-review.googlesource.com/c/go/+/604177
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Keith Randall <khr@golang.org>

src/cmd/compile/internal/ssa/debug_lines_test.go

index 043439302ee89e004117025ff5e65887494d927f..a4c25d6d0638817ead16142c0d99f6d66632b818 100644 (file)
@@ -81,7 +81,7 @@ func TestDebugLinesPushback(t *testing.T) {
        default:
                t.Skip("skipped for many architectures")
 
-       case "arm64", "amd64": // register ABI
+       case "arm64", "amd64", "loong64": // register ABI
                fn := "(*List[go.shape.int]).PushBack"
                testDebugLines(t, "-N -l", "pushback.go", fn, []int{17, 18, 19, 20, 21, 22, 24}, true)
        }
@@ -94,7 +94,7 @@ func TestDebugLinesConvert(t *testing.T) {
        default:
                t.Skip("skipped for many architectures")
 
-       case "arm64", "amd64": // register ABI
+       case "arm64", "amd64", "loong64": // register ABI
                fn := "G[go.shape.int]"
                testDebugLines(t, "-N -l", "convertline.go", fn, []int{9, 10, 11}, true)
        }