aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/alloc.go
diff options
context:
space:
mode:
authorqmuntal <quimmuntal@gmail.com>2025-08-26 11:47:51 +0200
committerQuim Muntal <quimmuntal@gmail.com>2025-09-15 01:16:22 -0700
commit8320fe8f0e5283eb67429de30b4e24be6a85c7a7 (patch)
treec9769641570bc4f484c6f88a10b5e27fa90062f8 /test/codegen/alloc.go
parent080882a928c96f997a1cb67cef40d2cc6126ffcd (diff)
downloadgo-8320fe8f0e5283eb67429de30b4e24be6a85c7a7.tar.xz
runtime: deduplicate syscall assembly for darwin
The darwin port provides different syscall functions that only differ on how they handle the errors, and they are all written in assembly. This duplication can be removed by factoring out the error handling logic to arch-agnostic Go code and leaving the assembly functions with the only reponsibility of making the syscall and mapping parameters between ABIs. Updates #51087 Cq-Include-Trybots: luci.golang.try:gotip-darwin-arm64-longtest,gotip-darwin-amd64-longtest Change-Id: I9524377f3ef9c9a638412c7e87c8f46a33ee3453 Reviewed-on: https://go-review.googlesource.com/c/go/+/699135 Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Mark Freeman <markfreeman@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'test/codegen/alloc.go')
0 files changed, 0 insertions, 0 deletions