]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: disable checkptr for //go:cgo_unsafe_args functions
authorMatthew Dempsky <mdempsky@google.com>
Thu, 17 Oct 2019 20:58:27 +0000 (13:58 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 17 Oct 2019 22:27:31 +0000 (22:27 +0000)
commit8c6876e9a481a2ea48070d3285a07163f564877b
treebc5a2feeca2b515ed33ba6821e81c925ede66b30
parentab81efa3dcac8bc9dca9a051ce3f665cfaeb6dc3
cmd/compile: disable checkptr for //go:cgo_unsafe_args functions

Fixes #34968.

Change-Id: I538d653fab6cf7cf9b9b7022a1c2d4ae6ee497b6
Reviewed-on: https://go-review.googlesource.com/c/go/+/201823
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/lex.go
test/fixedbugs/issue34968.go [new file with mode: 0644]