Hi, can gcc show the size of the stackframe of functions, so you can, given a callgraph without cycles, calculate the worst case stack size?
(Assuming no use of alloca or C99 variable size arrays) Can gcc (or ld) dump a callgraph? regards, Sebastian
Hi, can gcc show the size of the stackframe of functions, so you can, given a callgraph without cycles, calculate the worst case stack size?
(Assuming no use of alloca or C99 variable size arrays) Can gcc (or ld) dump a callgraph? regards, Sebastian