]> Cypherpunks repositories - gostls13.git/commitdiff
debug/dwarf: remove unused field addrsize from Data
authorIan Lance Taylor <iant@golang.org>
Fri, 13 Dec 2013 02:55:05 +0000 (18:55 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 13 Dec 2013 02:55:05 +0000 (18:55 -0800)
The addrsize field is not a constant for an entire executable
file, and is now handled by the dataFormat interface when
reading the data.

R=golang-dev, minux.ma, rsc
CC=golang-dev
https://golang.org/cl/41620043

src/pkg/debug/dwarf/open.go

index 37a518b6d376969e5371b88f72aad1779e4957f7..75798925296cff7375db930854e61f24ee67ae6c 100644 (file)
@@ -24,7 +24,6 @@ type Data struct {
 
        // parsed data
        abbrevCache map[uint32]abbrevTable
-       addrsize    int
        order       binary.ByteOrder
        typeCache   map[Offset]Type
        unit        []unit