1
0
mirror of https://github.com/golang/go synced 2024-11-26 20:31:25 -07:00
go/misc/cgo
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
..
gmp misc/cgo/gmp: update for Go 1 2012-03-21 00:51:48 +08:00
life misc/cgo/life: remove -lmsvcrt to fix windows/amd64 build 2012-08-17 09:10:01 +08:00
stdio misc/cgo/stdio: make it work on Windows and also test it 2012-09-20 00:27:23 +08:00
test cgo: process DWARF info even when debug data is used for value 2012-09-20 13:20:33 +10:00
testso cmd/go: add env command, use to fix misc/cgo/testso 2012-03-08 14:28:44 -05:00