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

cranelift-object: Report error when symbol declared as local or exported is not defined. #8600

Open
bjorn3 opened this issue May 12, 2024 · 0 comments

Comments

@bjorn3
Copy link
Contributor

bjorn3 commented May 12, 2024

Feature

See title.

Benefit

This makes debugging this kind of issue easier by reporting an error when writing the object file rather than feeding the linker a corrupt object file. This also allows finding the name of the exact symbol that is at fault.

Implementation

This check can be done in the finish method.

Alternatives

TODO: What are the alternative implementation approaches or alternative ways to
solve the problem that this feature would solve? How do these alternatives
compare to this proposal?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant