Issue 173158
Summary The -fstack-usage option incorrectly calculate size of the stack used by a function
Labels new issue
Assignees
Reporter rsashka
    When calculating the size of the stack used by a function, the size of the stack does not include the size of the return address from the function.

When compiling a file with any type of optimization, the size of the used stack becomes equal to 0, although it cannot be less than the return address.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to