]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/internal/obj: don't write builtin names in obj writer
authorThan McIntosh <thanm@google.com>
Wed, 17 Jun 2020 14:41:56 +0000 (10:41 -0400)
committerThan McIntosh <thanm@google.com>
Thu, 25 Jun 2020 11:18:58 +0000 (11:18 +0000)
commitbe38746eb49a479118c8e7833c106687a28676e2
tree74aef25a5396c6a81ec4dddcd920a7d58661a86b
parenta89fd32316954dea9fa87e45b266eb2e648f7f8e
[dev.link] cmd/internal/obj: don't write builtin names in obj writer

Change the object file writer to avoid adding entries to the object
file string table for builtin functions. This helps save some very
small amount of space in the object file.

Change-Id: Ic3b94a154e00eb4c7378b57613580c7073b841bc
Reviewed-on: https://go-review.googlesource.com/c/go/+/239657
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
src/cmd/internal/obj/objfile2.go