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: ctxt.loader.Dump is no effect. #44705

Closed
qingyunha opened this issue Mar 1, 2021 · 1 comment
Closed

cmd/link: ctxt.loader.Dump is no effect. #44705

qingyunha opened this issue Mar 1, 2021 · 1 comment

Comments

@qingyunha
Copy link
Contributor

@qingyunha qingyunha commented Mar 1, 2021

defer func() { ctxt.loader.Dump() }()

link exit with os.Exit, the defer function hava no effect.

@cherrymui
Copy link
Contributor

@cherrymui cherrymui commented Mar 1, 2021

As the comment says, // dump symbol info on crash. This is for debugging linker panics, and not intended to have effect on successful builds.

@cherrymui cherrymui closed this Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants