Find a file
Joel Sing 9536480edc cgo: process DWARF info even when debug data is used for value
Always process the DWARF info, even when the const value is determined
using the debug data block. This ensures that the injected enum is
removed and future loads of the same constant do not trigger
inconsistent definitions.

Add tests for issues 2470 and 4054.
Fixes #4054.

R=golang-dev, fullung, dave, rsc, minux.ma
CC=golang-dev
https://golang.org/cl/6501101
2012-09-20 13:20:33 +10:00
api api: fix build; regenerate api.txt with fixed signatures 2012-09-18 22:04:07 -07:00
doc spec: clarify expression statements 2012-09-18 11:25:53 -07:00
include src: Add support for 64-bit version of Plan 9 2012-08-31 13:21:13 -04:00
lib codereview.py: correct error handling without decorator 2012-09-01 19:55:29 -04:00
misc cgo: process DWARF info even when debug data is used for value 2012-09-20 13:20:33 +10:00
src cgo: process DWARF info even when debug data is used for value 2012-09-20 13:20:33 +10:00
test misc/cgo/stdio: make it work on Windows and also test it 2012-09-20 00:27:23 +08:00
.hgignore
.hgtags
AUTHORS A+C: Add Anthony Eufemio (Individual CLA) 2012-09-18 11:00:55 -07:00
CONTRIBUTORS A+C: Add Anthony Eufemio (Individual CLA) 2012-09-18 11:00:55 -07:00
favicon.ico
LICENSE
PATENTS
README
robots.txt
VERSION

This is the source code repository for the Go programming language.  

For documentation about how to install and use Go,
visit http://golang.org/ or load doc/install.html in your web browser.

After installing Go, you can view a nicely formatted
doc/install.html by running godoc --http=:6060
and then visiting http://localhost:6060/doc/install.html.

Unless otherwise noted, the Go source files are distributed
under the BSD-style license found in the LICENSE file.

--

Binary Distribution Notes

If you have just untarred a binary Go distribution, you need to set
the environment variable $GOROOT to the full path of the go
directory (the one containing this README).  You can omit the
variable if you unpack it into /usr/local/go, or if you rebuild
from sources by running all.bash (see doc/install.html).
You should also add the Go binary directory $GOROOT/bin
to your shell's path.

For example, if you extracted the tar file into $HOME/go, you might
put the following in your .profile:

    export GOROOT=$HOME/go
    export PATH=$PATH:$GOROOT/bin

See doc/install.html for more details.