Skip to content

Commit 795ad07

Browse files
committed
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 <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: David Crawshaw <[email protected]>
1 parent 11e93aa commit 795ad07

File tree

9 files changed

+1195
-1025
lines changed

9 files changed

+1195
-1025
lines changed

src/cmd/dist/buildtool.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ var bootstrapDirs = []string{
4141
"compile/internal/s390x",
4242
"internal/bio",
4343
"internal/gcprog",
44+
"internal/dwarf",
4445
"internal/obj",
4546
"internal/obj/arm",
4647
"internal/obj/arm64",

0 commit comments

Comments
 (0)