commit | 2369e01234d97e85e9919ef7d30bc0f8f4111f69 | [log] [tgz] |
---|---|---|
author | Cherry Zhang <cherryyz@google.com> | Tue Jul 28 13:33:47 2020 -0400 |
committer | Cherry Zhang <cherryyz@google.com> | Tue Jul 28 19:47:05 2020 +0000 |
tree | a1bf0bd80697c01827d4b65aa0f04a97220dc5cb | |
parent | 4b3cfcee5877b55049948c8e2c393d5a3ae39466 [diff] |
[dev.link] cmd/link: fix accidental escape in extreloc We accidentally passed the address of a local to a function pointer, where we should pass the address of a global. Linking cmd/compile with external linking: Asmb2_GC 32.5ms ± 5% 21.6ms ± 3% -33.57% (p=0.016 n=5+4) Asmb2_GC 29.2MB ± 0% 6.4MB ± 0% -78.20% (p=0.008 n=5+5) Asmb2_GC 1.43M ± 0% 0.00M ± 4% -99.98% (p=0.008 n=5+5) Change-Id: I4754189bcc20f824627d95858ba35285d53c614d Reviewed-on: https://go-review.googlesource.com/c/go/+/245337 Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jeremy Faller <jeremy@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.