We have a stringer for LSym.Type. Use it.
Before:
"".algarray t=31 size=224
After:
"".algarray SBSS size=224
Change-Id: Ib4c7d2bc1dbe9943cf2a5dfa5d9f2d7fbd50b7f2
Reviewed-on: https://go-review.googlesource.com/40862
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
fmt.Fprintf(ctxt.Bso, "v=%d ", s.Version)
}
if s.Type != 0 {
- fmt.Fprintf(ctxt.Bso, "t=%d ", s.Type)
+ fmt.Fprintf(ctxt.Bso, "%v ", s.Type)
}
if s.DuplicateOK() {
fmt.Fprintf(ctxt.Bso, "dupok ")