cmd/ld: change DWARF encoding for array lengths

They can be large, so use a varint encoding rather than only one byte.

LGTM=iant, rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/113180043
This commit is contained in:
Rob Pike 2014-07-15 21:18:18 +00:00
parent 6012ac9b79
commit cddad8affe
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ static struct DWAbbrev {
DW_TAG_subrange_type, DW_CHILDREN_no,
// No name!
DW_AT_type, DW_FORM_ref_addr,
DW_AT_upper_bound, DW_FORM_data1,
DW_AT_upper_bound, DW_FORM_udata,
0, 0
},