]> Cypherpunks repositories - gostls13.git/commit
cmd/link: use xcode strip for macho combine dwarf
authorMeng Zhuo <mengzhuo1203@gmail.com>
Fri, 16 Oct 2020 01:19:00 +0000 (09:19 +0800)
committerCherry Zhang <cherryyz@google.com>
Fri, 23 Oct 2020 15:54:44 +0000 (15:54 +0000)
commit7e25bdba5e79d223566745fca2410f725a6dedda
treecd6daef5925535122e4fe579b17f3e018e97ca8a
parent4f597abe77338588011a5b91ffefb0f7e11aa868
cmd/link: use xcode strip for macho combine dwarf

The GNU strip will shrink text section while xcodetool strip don't.
We have to use xcodetool strip from system explicitly.

Fixes #41967

Change-Id: Ida372869e0ebc9e93f883640b1614836cea3672f
Reviewed-on: https://go-review.googlesource.com/c/go/+/262398
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Trust: Meng Zhuo <mzh@golangcn.org>
src/cmd/link/internal/ld/lib.go