]> Cypherpunks repositories - gostls13.git/commit
[release-branch.r58] cgo: handle new Apple LLVM-based gcc from Xcode 4.2 release.r58.1
authorRuss Cox <rsc@golang.org>
Tue, 12 Jul 2011 14:19:11 +0000 (10:19 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 12 Jul 2011 14:19:11 +0000 (10:19 -0400)
commitadfa87c5d754252f2bf428b38560de3d630dbe9d
treecb81d7f1dcdab05ba79e5e6e50a2364eee45fa4c
parentaf97a0b94c5196b13eddfff6663c916af789a599
[release-branch.r58] cgo: handle new Apple LLVM-based gcc from Xcode 4.2

««« CL 4607045 / 142f0bc0d6e7
cgo: handle new Apple LLVM-based gcc from Xcode 4.2

That gcc does not include enumerator names and values
in its DWARF debug output.  Create a data block from which
we can read the values instead.

Fixes #1881.

R=iant
CC=golang-dev
https://golang.org/cl/4607045
»»»

R=adg
CC=golang-dev
https://golang.org/cl/4708042
src/cmd/cgo/gcc.go
src/pkg/debug/dwarf/type.go
src/pkg/debug/elf/file.go