diff options
| author | Joel Sing <joel@sing.id.au> | 2023-11-01 01:34:33 +1100 |
|---|---|---|
| committer | Joel Sing <joel@sing.id.au> | 2023-11-02 14:10:56 +0000 |
| commit | cfe36fd1224706389392e44bdddbc754f70b95bf (patch) | |
| tree | a2051710331bfd16266b8759b79b28a5f5364043 /src/runtime/proc.go | |
| parent | 285ac5a11e36ca4d85a7e97c9040a1e3de0ecc11 (diff) | |
| download | go-cfe36fd1224706389392e44bdddbc754f70b95bf.tar.xz | |
runtime: add crash stack support for riscv64
Change-Id: Ib89a71e20f9c6b86c97814c75cb427e9bd7075e5
Reviewed-on: https://go-review.googlesource.com/c/go/+/538735
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Joel Sing <joel@sing.id.au>
Diffstat (limited to 'src/runtime/proc.go')
| -rw-r--r-- | src/runtime/proc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go index 7189a0650a..9b5f2e9a6d 100644 --- a/src/runtime/proc.go +++ b/src/runtime/proc.go @@ -574,7 +574,7 @@ func switchToCrashStack(fn func()) { abort() } -const crashStackImplemented = GOARCH == "amd64" || GOARCH == "arm64" +const crashStackImplemented = GOARCH == "amd64" || GOARCH == "arm64" || GOARCH == "riscv64" //go:noescape func switchToCrashStack0(func()) // in assembly |
