-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/link: DWARF data too large #5158
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
Comments
one possible solution, as discussed in issue #4735, is to make the runtime use the dwarf data for backtrace so that we don't need to include two copies of data for the same information (pc <-> file:line table, for example). it will also give us more incentive to compact the dwarf sections. |
I believe #6853 is the main umbrella issue for tracking work in binary size reduction. That should include work in reducing DWARF data. I think this can be closed. |
On tip the binary is about 2M and the DWARF info is about 650K. The DWARF info is 32.5% of the executable size. So it looks like the executable size has gotten larger and the DWARF size has gotten smaller. But we're still not compressing the debug info, which would be an easy win. I'm going to leave this open at least for that. |
Actually, compressing debug info is #11799. Closing this one. |
The text was updated successfully, but these errors were encountered: