dwarfbuilder: fix makeAbbrevTable (#3665)

It did not terminate the section with the required 0 byte.
This commit is contained in:
Alessandro Arzilli 2024-02-22 20:33:44 +01:00 committed by GitHub
parent 26799555e5
commit ff2f69343e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -244,6 +244,8 @@ func (b *Builder) makeAbbrevTable() []byte {
leb128.EncodeUnsigned(&abbrev, 0)
}
leb128.EncodeUnsigned(&abbrev, uint64(0))
return abbrev.Bytes()
}