[llvm-dev] Dumping the static stack reservation sizes for functions

Martin J. O'Riordan via llvm-dev llvm-dev at lists.llvm.org
Mon Feb 5 11:46:12 PST 2018


I would like to be able to emit a list of functions by name and their fixed
stack reservation size information, so that a programmer can gauge how much
stack they are likely to need in tightly constrained embedded systems.
Despite the rich number of options, the only option I can find that is even
relatively close is:

 

-warn-stack-size=<uint>

 

Is there some existing way of getting this information emitted in an easily
parsable way (e.g. in CSV form) , or will I need to add the capability?

 

Thanks,

 

            MartinO

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180205/9f645216/attachment.html>


More information about the llvm-dev mailing list