Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/link: DWARF binary size regression #15179

Closed
crawshaw opened this issue Apr 7, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@crawshaw
Copy link
Contributor

commented Apr 7, 2016

Commit a037c73 increased the size of cmd/go from 9.7MB to 10.8MB on linux/amd64.

At least some of that size will be caused by 16000 new symbols in the symbol table.

$ go tool nm ../bin/go | grep go.dwarf.info | wc -l
16411

I believe these symbols can be marked as hidden by the linker, I'll give that a try.

cc @ribrdb

@crawshaw crawshaw added this to the Go1.7 milestone Apr 7, 2016

@bradfitz bradfitz changed the title DWARF binary size regression cmd/link: DWARF binary size regression Apr 7, 2016

@gopherbot gopherbot closed this in 9658b7e Apr 7, 2016

@golang golang locked and limited conversation to collaborators Apr 8, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.