]> Cypherpunks repositories - gostls13.git/commit
cmd/link: disable mach-o dwarf munging with -w (in addition to -s)
authorRuss Cox <rsc@golang.org>
Thu, 30 Mar 2017 00:46:20 +0000 (20:46 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 30 Mar 2017 12:28:11 +0000 (12:28 +0000)
commit23dc3633ca38b8167a50250eeec948e4cd619056
tree2a2ecbb19fecca1c0100beb8d695ca0819f366c0
parent371c83b594bf7af5a5b56f3ecfe1347e0b666dc2
cmd/link: disable mach-o dwarf munging with -w (in addition to -s)

Might as well provide a way around the mach-o munging
that doesn't require stripping all symbols.
After all, -w does mean no DWARF.

For #11887, #19734, and anyone else that needs to disable
this code path without losing the symbol table.

Change-Id: I254b7539f97fb9211fa90f446264b383e7f3980f
Reviewed-on: https://go-review.googlesource.com/38853
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/internal/ld/lib.go