Descriptioncgo: 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 issue 4054.
Patch Set 1 #Patch Set 2 : diff -r a76067712fe9 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r a76067712fe9 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r b0c749cc5654 https://go.googlecode.com/hg/ #Patch Set 5 : diff -r f6668796d52c https://go.googlecode.com/hg/ #
MessagesTotal messages: 12
|