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

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

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

@cherrymui
Copy link
Member

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

@golang golang locked and limited conversation to collaborators Mar 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants