]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/wasm: use i64 for large return addr
authorZxilly <zxilly@outlook.com>
Wed, 9 Apr 2025 12:17:21 +0000 (12:17 +0000)
committerCherry Mui <cherryyz@google.com>
Thu, 10 Apr 2025 06:38:23 +0000 (23:38 -0700)
commitd60a684c87104ed7836403eab74eb2be1e4a97cb
tree07378004a26ab3645a6436bee8a86c118cc57771
parent7a82b6a9e1ad6ace91e53011744ffefdbf5843bc
cmd/internal/obj/wasm: use i64 for large return addr

Use i64 to avoid overflow when getting PC_F from the return addr.

Fixes #73246

Change-Id: I5683dccf7eada4b8536edf53e2e83116a2f6d943
GitHub-Last-Rev: 267d9a1a031868430d0af530de14229ee1ae8609
GitHub-Pull-Request: golang/go#73277
Reviewed-on: https://go-review.googlesource.com/c/go/+/663995
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/internal/obj/wasm/wasmobj.go