diff options
| author | Cherry Mui <cherryyz@google.com> | 2025-10-02 18:24:12 -0400 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2025-10-03 06:30:28 -0700 |
| commit | adce7f196e6ac6d22e9bc851efea5f3ab650947c (patch) | |
| tree | 88c66a0378dda3cd6a891f6cd9bad0809c86abcb /test/codegen | |
| parent | d5b950399de01a0e28eeb48d2c8474db4aad0e8a (diff) | |
| download | go-adce7f196e6ac6d22e9bc851efea5f3ab650947c.tar.xz | |
cmd/link: support .def file with MSVC clang toolchain
lld-link supports .def file, but requires a "-def:" (or "/def:")
flag. (MinGW linker, on the other hand, requires no flag.) Pass
the flag when using MSVC-based toolchain.
CL originally authored by Chressie Himpel.
Change-Id: I8c327ab48d36b0bcbb1d127cff544ffdb06be38e
Reviewed-on: https://go-review.googlesource.com/c/go/+/708716
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Chressie Himpel <chressie@google.com>
Diffstat (limited to 'test/codegen')
0 files changed, 0 insertions, 0 deletions
