mirror of https://github.com/golang/go.git
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:
parent
6012ac9b79
commit
cddad8affe
|
|
@ -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
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue