commit | 32bc0976f9c4333e4a9247d6acc908972c6c5d79 | [log] [tgz] |
---|---|---|
author | Than McIntosh <thanm@google.com> | Thu Jun 28 15:42:20 2018 -0400 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Tue Jul 03 14:48:30 2018 +0000 |
tree | ae9c4051ff499f20d16d4d6bff6fcf73f51c9218 | |
parent | 0e0cd70ecf6b5f0d9c8271f68b8fcc9f85cd6598 [diff] |
cmd/link: use side table instead of sym.Symbol 'Reachparent' field The sym.Symbol 'Reachparent' field is used only when field tracking is enabled. So as to use less memory for the common case where field tracking is not enabled, remove this field and use a side table stored in the context to achieve the same functionality. Updates #26186 Change-Id: Idc5f8b0aa323689d4d51dddb5d1b0341a37bb7d2 Reviewed-on: https://go-review.googlesource.com/121915 Reviewed-by: Ian Lance Taylor <iant@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.