New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/tools/go/gccgoexportdata: escape tag is not supported #23324
Comments
@cherrymui Is this a blocker for you? Let me know and I'll prioritize if necessary. |
@griesemer, thank you! It is a blocker for turning on the escape analysis by default for gccgo. Meanwhile we could use the flag |
We have a gccgoimporter also in the std library. This seems a very safe fix that we should probably add to Go 1.10. |
Change https://golang.org/cl/86977 mentions this issue: |
Change https://golang.org/cl/87295 mentions this issue: |
This is a copy of https://go-review.googlesource.com/c/go/+/86977 and brings those changes into the x/tools repo. It also includes a minor change to parser.go that was done via https://go-review.googlesource.com/37839 but that wasn't brought over. For golang/go#23324. Change-Id: I84b7cf134fec250ac340e404802158860cb3c630 Reviewed-on: https://go-review.googlesource.com/87295 Reviewed-by: Cherry Zhang <cherryyz@google.com>
Change https://golang.org/cl/87878 mentions this issue: |
With gccgo, when the escape analysis is turned on (
-fgo-optimize-allocs
), it writes escape tag for function arguments in the export data, with the format<esc:0xNN>
before thetype
tag, likeThe
gccgoexportdata
package cannot parse export data with escape tags in them.cc @ianlancetaylor @alandonovan
The text was updated successfully, but these errors were encountered: