cmd/link/internal/dwtest: fix inconsistent receiver name

The DIEs method of Examiner is the only one with a receiver declared 'e'; all the rest have 'ex'. Fix it to be consistent.

Change-Id: I494a53cf3db5575d45831cab3cf612c20962f8fe
Reviewed-on: https://go-review.googlesource.com/c/go/+/554575
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: shuang cui <imcusg@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
cui fliter 2024-01-08 21:55:30 +08:00 committed by Cherry Mui
parent 244ccf4769
commit 149db960e4
1 changed files with 2 additions and 2 deletions

View File

@ -69,8 +69,8 @@ func (ex *Examiner) Populate(rdr *dwarf.Reader) error {
return nil return nil
} }
func (e *Examiner) DIEs() []*dwarf.Entry { func (ex *Examiner) DIEs() []*dwarf.Entry {
return e.dies return ex.dies
} }
func indent(ilevel int) { func indent(ilevel int) {