debug/elf: correct case of DWARF in comment

Change-Id: I5b80b0e3e50fafdb732c732cdae6e2756d919d20
Reviewed-on: https://go-review.googlesource.com/c/go/+/725360
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Mark Freeman <markfreeman@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Sean Liao <sean@liao.dev>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
Ian Lance Taylor 2025-11-28 14:34:06 -08:00 committed by Gopher Robot
parent 18015e8c36
commit 42e03bbd27

View file

@ -1300,7 +1300,7 @@ func (f *File) DWARF() (*dwarf.Data, error) {
return b, nil
}
// There are many DWARf sections, but these are the ones
// There are many DWARF sections, but these are the ones
// the debug/dwarf package started with.
var dat = map[string][]byte{"abbrev": nil, "info": nil, "str": nil, "line": nil, "ranges": nil}
for i, s := range f.Sections {