[PATCH] D136484: [CodeGen] Improve large stack frame diagnostic

Paul Kirth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 21 14:01:02 PDT 2022


paulkirth added a comment.

w/o SafeStack:

  warning: stack frame size (100) exceeds limit (80) in function 'warn'
  20/100 (20%) spills, 80/100 (80.00%) variables

w/ SafeStack

  warning: stack frame size (100) exceeds limit (80) in function 'warn_safestack'
  20/100 (20%) spills, 80/100 (80.00%) variables, 60/100 (60.00%) UnsafeStack

The lines w/ the % are the new additions.  Looking, though it should probably just read `unsafe stack` instead of `UnsafeStack`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136484/new/

https://reviews.llvm.org/D136484



More information about the llvm-commits mailing list