diff options
| author | Paul Kirth <paulkirth@google.com> | 2022-10-21 18:22:03 +0000 |
|---|---|---|
| committer | Paul Kirth <paulkirth@google.com> | 2022-10-27 00:51:45 +0000 |
| commit | 2e1e2f52f357768186ecfcc5ac53d5fa53d1b094 (patch) | |
| tree | 8052c5c9023585196ce8049547d30f5f4b147c3c /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | 70324cd88328c0924e605fa81b696572560aa5c9 (diff) | |
[CodeGen] Improve large stack frame diagnostic
Add statistics about how much memory is used, in variables, spills, and
unsafestack.
Issue #58168 describes some of the difficulty diagnosing stack size issues
identified by -Wframe-larger-than. D135488 addresses some of those issues by
giving developers a method to view the stack layout and thereby understand
where and how stack memory is used.
However, that solution requires an additional pass, when a short summary about
how the compiler has allocated stack memory can inform developers about where
they should investigate. When they need the complete context, D135488 can
provide them with a more comprehensive set of diagnostics.
Reviewed By: nickdesaulniers
Differential Revision: https://reviews.llvm.org/D136484
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
