[PATCH] D54217: Add total function byte size and inline function byte size to "llvm-dwarfdump --statistics"
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 7 11:59:43 PST 2018
vsk added a subscriber: jakehehrlich.
vsk added a comment.
In https://reviews.llvm.org/D54217#1290474, @aprantl wrote:
> Thanks. There seems to be some overlap with
>
> [llvm-dev] RFC: Adding a code size analysis tool
> https://lists.llvm.org/pipermail/llvm-dev/2018-September/126501.html
>
> how was that discussion resolved?
I think the response was generally positive but I haven't had the time to push things into tree. @clayborg, have you tried out the tool here: https://github.com/vedantk/llvm-project ? The RFC has some usage instructions.
If you just want the ratio of inlined to not-inlined bytes, this patch is a simpler way to do it. But if you need something more fine-grained (i.e. *which* functions were inlined more compared to a baseline, by how much, etc.), it might be worth checking out. Happy to have someone else run with the code.
Repository:
rL LLVM
https://reviews.llvm.org/D54217
More information about the llvm-commits
mailing list