]> Cypherpunks repositories - gostls13.git/commit
cmd/ld: use count, not upper bound, in type of array
authorRob Pike <r@golang.org>
Wed, 16 Jul 2014 18:26:50 +0000 (18:26 +0000)
committerRob Pike <r@golang.org>
Wed, 16 Jul 2014 18:26:50 +0000 (18:26 +0000)
commit74c9cc8394049f68f711e25df413a813dc21f174
tree976d99d7713324cf96974234e850330ceccc66e6
parent59af2c647bc728270604e8db649d23367060f15d
cmd/ld: use count, not upper bound, in type of array
DWARF says only one is necessary.
The count is preferable because it admits 0-length arrays.
Update debug/dwarf to handle either form.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/111230044
src/cmd/ld/dwarf.c
src/pkg/debug/dwarf/type.go