-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Option to include called functions (to some depth) #247
Comments
Seems doable as long as we are talking about referencing some other code and not checking if it is a call or not. The way it is currently implementing including symbols from |
#248 - I made this. Is it what you had in mind? |
Going just by references. Detecting actual calls is hard.
|
Looks reasonable to me. I haven't tested it. |
Okay. Will try to release soon-ish after some more experiments with cli options. |
Well, for what it's worth, I'd rather type |
Often, the code that I want to inspect turns out to be in some closure expression, and that closure doesn't necessarily get inlined by the compiler (or perhaps the changes I am making perturb whether or not it's inlined). In this case, it's an extra step to rerun with the generated closure symbol's name.
Therefore, I suggest adding an option which prints, in addition to the selected function's assembly, the assembly for symbols that it calls or otherwise references (up to some max depth, and skipping
std
symbols by default).This could even be automatic in the case where the called function is only called by this function.
The logic to support this could also help with #22.
The text was updated successfully, but these errors were encountered: