mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.link] cmd/internal/obj: remove asm parameter of NumberSyms
Now we have ctxt.IsAsm, use that, instead of passing in a parameter. Change-Id: I81dedbe6459424fa9a4c2bfbd9abd83d83f3a107 Reviewed-on: https://go-review.googlesource.com/c/go/+/234492 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
0f92cd75cf
commit
cf3bf9959c
3 changed files with 7 additions and 7 deletions
|
|
@ -96,7 +96,7 @@ func main() {
|
|||
}
|
||||
}
|
||||
if ok && !*flags.SymABIs {
|
||||
ctxt.NumberSyms(true)
|
||||
ctxt.NumberSyms()
|
||||
obj.WriteObjFile(ctxt, buf, *flags.Importpath)
|
||||
}
|
||||
if !ok || diag {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue