Skip to content

Commit

Permalink
[release-branch.go1.14] go/analysis/passes/asmdecl: add support for r…
Browse files Browse the repository at this point in the history
…iscv64

Updates golang/go#27532

Change-Id: I9598b610c0b6710644988e5cea7661b2681a0314
Reviewed-on: https://go-review.googlesource.com/c/tools/+/216337
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
(cherry picked from commit 628e9aa)
Reviewed-on: https://go-review.googlesource.com/c/tools/+/217301
Run-TryBot: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
  • Loading branch information
4a6f656c authored and FiloSottile committed Jan 31, 2020
1 parent 298f0cb commit 575de47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go/analysis/passes/asmdecl/asmdecl.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ var (
asmArchMips64LE = asmArch{name: "mips64le", bigEndian: false, stack: "R29", lr: true}
asmArchPpc64 = asmArch{name: "ppc64", bigEndian: true, stack: "R1", lr: true}
asmArchPpc64LE = asmArch{name: "ppc64le", bigEndian: false, stack: "R1", lr: true}
asmArchRISCV64 = asmArch{name: "riscv64", bigEndian: false, stack: "SP", lr: true}
asmArchS390X = asmArch{name: "s390x", bigEndian: true, stack: "R15", lr: true}
asmArchWasm = asmArch{name: "wasm", bigEndian: false, stack: "SP", lr: false}

Expand All @@ -101,6 +102,7 @@ var (
&asmArchMips64LE,
&asmArchPpc64,
&asmArchPpc64LE,
&asmArchRISCV64,
&asmArchS390X,
&asmArchWasm,
}
Expand Down

0 comments on commit 575de47

Please sign in to comment.