-
Notifications
You must be signed in to change notification settings - Fork 2
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
inline tool gives misleading output on console #19
Comments
|
I agree, and the top most symbol that is public is indeed Graphviz already generates a very nice output of what we want to know. maybe the console output could be more straightforward as well. |
What is the output you expect? |
At least that the entries are sorted in the same way of the graphviz output: the private symbol comes first, and the last entry should be the function to be patched. |
You will have to sort the output the way you want in InlineAnalysis.cpp:457. |
When using the
inline
tool from clang-extract to check for inlined functions, if the output it set to be done to-graphviz
it works as expected:But if the output is the console, then it shows a different picture:
IMHO, I would expect the last entry to be the public symbol. Maybe we could change the output to let it more obvious which function should be extracted.
The text was updated successfully, but these errors were encountered: