]> Cypherpunks repositories - gostls13.git/commit
go/internal/gccgoimporter: support notinheap annotation
authorIan Lance Taylor <iant@golang.org>
Tue, 27 Oct 2020 19:59:54 +0000 (12:59 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 27 Oct 2020 20:49:38 +0000 (20:49 +0000)
commit9fcb5e0c527337c830e95d48d4574930cac53093
tree22d15749ba35b5ef51db175105c3806bb9a58367
parent9113d8c37f9f40ab86b12bddb98dee2b1c0a344f
go/internal/gccgoimporter: support notinheap annotation

The gofrontend has started emitting a notinheap annotation for types
marked go:notinheap.

For #41761

Change-Id: Ic8f7ffc32dbfe98ec09b3d835957f1be8e6c1208
Reviewed-on: https://go-review.googlesource.com/c/go/+/265702
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/go/internal/gccgoimporter/importer_test.go
src/go/internal/gccgoimporter/parser.go
src/go/internal/gccgoimporter/testdata/notinheap.go [new file with mode: 0644]
src/go/internal/gccgoimporter/testdata/notinheap.gox [new file with mode: 0644]