aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec.go
diff options
context:
space:
mode:
authorElias Naur <mail@eliasnaur.com>2019-03-20 20:10:38 +0100
committerElias Naur <mail@eliasnaur.com>2019-03-21 01:35:21 +0000
commit0fe1986a72ea578390d4909988a1d7cb3a687544 (patch)
tree6ba28994bf812270d04b7e45eef051c2f8ea6e73 /src/os/exec/exec.go
parentba965640a45f5d94976c3ad6c92396cab539155a (diff)
downloadgo-0fe1986a72ea578390d4909988a1d7cb3a687544.tar.xz
cmd/link/internal/ld: extract Mach-O load command parsing
We're going to need the ability to extract the LC_VERSION_MIN_* and LC_BUILD_VERSION load commands. This CL adds peekMachoPlatform to do that and in the process simplifies machoCombineDwarf. While here, disable DWARF combining for Apple platforms other than macOS (watchOS, tvOS, bridgeOS), not just iOS. Updates #22395 Change-Id: I4862b0f15ccc87b7be1a6532b4d37b47c8f7f243 Reviewed-on: https://go-review.googlesource.com/c/go/+/168459 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions