aboutsummaryrefslogtreecommitdiff
path: root/src/debug/dwarf/typeunit.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/dwarf/typeunit.go')
-rw-r--r--src/debug/dwarf/typeunit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/dwarf/typeunit.go b/src/debug/dwarf/typeunit.go
index 8ecf876416..e5b8973ac9 100644
--- a/src/debug/dwarf/typeunit.go
+++ b/src/debug/dwarf/typeunit.go
@@ -137,7 +137,7 @@ func (tur *typeUnitReader) Next() (*Entry, error) {
if len(tur.tu.data) == 0 {
return nil, nil
}
- e := tur.b.entry(nil, tur.tu.atable, tur.tu.base, tur.tu.vers)
+ e := tur.b.entry(nil, &tur.tu.unit)
if tur.b.err != nil {
tur.err = tur.b.err
return nil, tur.err