diff options
Diffstat (limited to 'src/pkg/debug/dwarf/open.go')
| -rw-r--r-- | src/pkg/debug/dwarf/open.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pkg/debug/dwarf/open.go b/src/pkg/debug/dwarf/open.go index 8694508386..e252ce5f4e 100644 --- a/src/pkg/debug/dwarf/open.go +++ b/src/pkg/debug/dwarf/open.go @@ -30,6 +30,7 @@ type Data struct { abbrevCache map[uint32] abbrevTable; addrsize int; order binary.ByteOrder; + typeCache map[Offset] Type; unit []unit; } @@ -51,6 +52,7 @@ func New(abbrev, aranges, frame, info, line, pubnames, ranges, str []byte) (*Dat ranges: ranges, str: str, abbrevCache: make(map[uint32]abbrevTable), + typeCache: make(map[uint32]Type), }; // Sniff .debug_info to figure out byte order. |
