cmd/link: mangle function names with ABI on PE
When ABI wrappers are used, we may end up with two functions having the same name. On ELF we mangle the name with ABI. Do the same for PE. TODO: other platforms? Change-Id: If89f214a6286bc28c062c1aa1bad78dc353a9231 Reviewed-on: https://go-review.googlesource.com/c/go/+/304432 Trust: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by:Than McIntosh <thanm@google.com>
Loading
Please sign in to comment