]> Cypherpunks repositories - gostls13.git/commit
sync/atomic: add missing leak tests for And & Or
authorJorropo <jorropo.pgm@gmail.com>
Wed, 4 Dec 2024 03:50:29 +0000 (04:50 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Wed, 4 Dec 2024 17:30:39 +0000 (17:30 +0000)
commitd241ea8d5cc5dce6c32c69d1a6303622874d5fd3
tree41c35969e25e9fa69774437e10feeaaf5e3904e7
parent4c3aa5d32436486dce4927d240ebf596c0bbb8aa
sync/atomic: add missing leak tests for And & Or

Theses tests were forgot because when CL 462298 was originally written
And & Or atomics were not available in go.
Git were smart enough to rebase over And's & Or's addition.
After most reviews and before merging it were pointed I should
make theses new intrinsics noescape.
When doing this last minute addition I forgot to add tests.

Change-Id: I457f98315c0aee91d5743058ab76f256856cb782
Reviewed-on: https://go-review.googlesource.com/c/go/+/633416
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
test/fixedbugs/issue16241.go
test/fixedbugs/issue16241_64.go