-
Notifications
You must be signed in to change notification settings - Fork 70
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
Add a twiggy garbage
subcommand to find unreachable items
#48
Comments
This looks like it would be fun! I would love to try and tackle this one. I can start looking into it tomorrow I believe. Let me know if you have any advice :) |
@data-pup great! I would suggest using |
This would mostly be implemented in aa3330d is a good example of what implementing a new sub command is like. |
Awesome! That makes sense to me 🙂 |
I think I'm getting pretty close to having this done! I should be able to open a PR today for review :D |
Add a `twiggy garbage` command. Fixes issue #48.
This would print code and data that is not transitively referenced by any exports / public functions. Since linkers and compilers tend to remove dead code, this is more likely to find bugs in our IR graph, but that is also a useful thing ;)
The text was updated successfully, but these errors were encountered: