]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: escape package path in objByPkg map
authorCherry Zhang <cherryyz@google.com>
Wed, 9 Oct 2019 19:37:46 +0000 (15:37 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 10 Oct 2019 22:06:28 +0000 (22:06 +0000)
commite44dfa1f2b322537ce3ee1f589af1082748accc5
tree334373183bdf7ae32836b9655ba425490f54ec4c
parent0108b54a3d6d53d13bc5cb935e3a79121b7ee49e
[dev.link] cmd/link: escape package path in objByPkg map

The package references recorded in the object file, which are
obtained from the compiler, are escaped. We should also use the
escaped package paths in the linker for resolving package
references.

Change-Id: I42eb12df6ff24330e6dc7bed1dc8224bb3b8a106
Reviewed-on: https://go-review.googlesource.com/c/go/+/200158
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/objfile/objfile2.go