1
0
mirror of https://github.com/golang/go synced 2024-11-20 11:14:45 -07:00
go/misc/cgo/test
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
..
backdoor all: gofmt -w -s src misc 2012-03-08 10:48:51 -08:00
align.go test: Add the usual Copyright notice. 2012-01-24 14:48:15 -05:00
basic.go cgo: process DWARF info even when debug data is used for value 2012-09-20 13:20:33 +10:00
callback_c.c misc/cgo: re-enable some tests 2012-03-06 23:27:30 -05:00
callback.go misc/cgo: re-enable some tests 2012-03-06 23:27:30 -05:00
cgo_linux_test.go misc/cgo/test: only run setgid test on GNU/Linux 2012-07-28 10:40:51 -07:00
cgo_test.go cgo: process DWARF info even when debug data is used for value 2012-09-20 13:20:33 +10:00
duplicate_symbol.go cgo: omit duplicate symbols in writeDefs 2011-08-16 14:56:23 -04:00
env.go misc/cgo/test: make tests run on windows 2012-01-20 12:59:44 +11:00
exports.go
helpers.go cgo: fix incorrect print found by govet 2011-11-29 14:40:34 +11:00
issue1222.go
issue1328.go misc/cgo: re-enable some tests 2012-03-06 23:27:30 -05:00
issue1560.go misc/cgo/test: do not run wasteCPU during TestParallelSleep unless on arm 2012-09-20 12:06:08 +10:00
issue1635.go cmd/ld: handle a special case of scattered relocation 2/1 on Darwin/386 2012-08-29 23:42:05 +08:00
issue2462.go cgo: support export for built-in types 2011-12-20 09:28:45 -08:00
issue3261.go cmd/go: new cgo build procedure 2012-08-17 03:42:34 +08:00
issue3741.go cmd/cgo: generate definitions for GoSlice 2012-06-30 12:40:07 +08:00
issue3945.go runtime: increase stack frame during cgo call on windows/amd64 2012-09-03 12:12:51 +10:00
issue4054a.go cgo: process DWARF info even when debug data is used for value 2012-09-20 13:20:33 +10:00
issue4054b.go cgo: process DWARF info even when debug data is used for value 2012-09-20 13:20:33 +10:00
setgid_linux.go misc/cgo/test: only run setgid test on GNU/Linux 2012-07-28 10:40:51 -07:00
sleep_windows_386.go cmd/go: new cgo build procedure 2012-08-17 03:42:34 +08:00