cmd/ld: avoid a segfault when dumping the symbol table
The dumping routine incorrectly assumed that all incoming symbols would be non-nil and load through it to retrieve the symbol name. Instead of using the symbol to retrieve a name, use the name provided by the caller. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7224043
Showing
Please
register
or
sign in
to comment