This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Stack usage information

How does one determine the stack usage and program size?

On this page, it says to link with --callgraph to produce a static callgraph, showing information on stack usage and the functions. Not too sure how to link with it?

I need to know the starting and ending point of the stack and ensure all variables are within the range of the stack and not beyond.