diff --git a/pkg/dwarf/dwarfbuilder/info.go b/pkg/dwarf/dwarfbuilder/info.go index 3de9ed3b51..4e18e5d3a3 100644 --- a/pkg/dwarf/dwarfbuilder/info.go +++ b/pkg/dwarf/dwarfbuilder/info.go @@ -244,6 +244,8 @@ func (b *Builder) makeAbbrevTable() []byte { leb128.EncodeUnsigned(&abbrev, 0) } + leb128.EncodeUnsigned(&abbrev, uint64(0)) + return abbrev.Bytes() }