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
Showing
misc/cgo/test/issue4054a.go
0 → 100644
misc/cgo/test/issue4054b.go
0 → 100644
Please register or sign in to comment