]> Cypherpunks repositories - gostls13.git/commit
cmd/go: recognize DLL magic from llvm binaries
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 15 Feb 2021 19:20:15 +0000 (20:20 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 23 Feb 2021 17:58:33 +0000 (17:58 +0000)
commitf1562c761014111ce359b14016718ddabd24c2f2
treefa3b071848ec6fb2d445ede0e1afc0e77643ac08
parentbf5fa2d19887bd86891447761b45041e500c2a07
cmd/go: recognize DLL magic from llvm binaries

When using LLD with c-shared, the magic in the output DLL is slightly
different than for EXEs.

Change-Id: Icc5f34f7bb61f11a9d75494236b7797cc1988b40
Reviewed-on: https://go-review.googlesource.com/c/go/+/291638
Trust: Jason A. Donenfeld <Jason@zx2c4.com>
Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/go/internal/work/exec.go