]> Cypherpunks repositories - gostls13.git/commit
cmd: generate DWARF for functions in compile instead of link.
authorMichael Matloob <matloob@golang.org>
Thu, 28 Jul 2016 17:04:41 +0000 (13:04 -0400)
committerMichael Matloob <matloob@golang.org>
Thu, 18 Aug 2016 15:06:27 +0000 (15:06 +0000)
commit795ad07b3be3cb51e07d502409f815f7d1f97305
tree299e890ce93313cce4eebc889122ae37314dcc9d
parent11e93aa24a61e0c4b25600bf2a681b8779371fe8
cmd: generate DWARF for functions in compile instead of link.

This is a copy of golang.org/cl/22092 by Ryan Brown.

Here's his original comment:
On my machine this increases the average time for 'go build cmd/go' from
2.25s to 2.36s. I tried to measure compile and link separately but saw
no significant change.

Change-Id: If0d2b756d52a0d30d4eda526929c82794d89dd7b
Reviewed-on: https://go-review.googlesource.com/25311
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/dist/buildtool.go
src/cmd/internal/dwarf/dwarf.go [new file with mode: 0644]
src/cmd/internal/dwarf/dwarf_defs.go [moved from src/cmd/link/internal/ld/dwarf_defs.go with 93% similarity]
src/cmd/internal/obj/objfile.go
src/cmd/internal/obj/plist.go
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/ld/dwarf.go
src/cmd/link/internal/ld/objfile.go
src/cmd/link/internal/ld/symtab.go