dwarfbuilder: fix makeAbbrevTable (#3665)
It did not terminate the section with the required 0 byte.
This commit is contained in:
parent
26799555e5
commit
ff2f69343e
@ -244,6 +244,8 @@ func (b *Builder) makeAbbrevTable() []byte {
|
||||
leb128.EncodeUnsigned(&abbrev, 0)
|
||||
}
|
||||
|
||||
leb128.EncodeUnsigned(&abbrev, uint64(0))
|
||||
|
||||
return abbrev.Bytes()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user