mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.link] cmd/asm: expand package path if known
If the package path is known, pass it to the object file writer so the symbol names are pre-expanded. (We already expand the package path in debug info.) Change-Id: I2b2b71edbb98924cbf3c4f9142b7e109e5b7501a Reviewed-on: https://go-review.googlesource.com/c/go/+/234491 Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jeremy Faller <jeremy@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
parent
586d0755e2
commit
0f92cd75cf
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ func main() {
|
|||
}
|
||||
if ok && !*flags.SymABIs {
|
||||
ctxt.NumberSyms(true)
|
||||
obj.WriteObjFile(ctxt, buf, "")
|
||||
obj.WriteObjFile(ctxt, buf, *flags.Importpath)
|
||||
}
|
||||
if !ok || diag {
|
||||
if failedFile != "" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue