-Wframe-larger-than no longer shows information about spills/variables #1894
Labels
-Wframe-larger-than=
[Regression] llvm
This was previously working, but the toolchain has regressed.
wontfix
This will not be worked on
While investigating a recent
-Wframe-larger-than
warning, I noticed that on recent tip of tree LLVM builds, we no longer see information about the spills/variables that were added by llvm/llvm-project@2e1e2f5.LLVM 16.0.6:
LLVM 17.0.0:
It looks like llvm/llvm-project@945f6e6 removed this, which basically defeats the purpose of llvm/llvm-project@2e1e2f5 from what I can tell... While we can still get this information from
KCFLAGS=-Rpass-analysis=stack-frame-layout
, I think it is helpful for other non-compiler developers to immediately see where the high stack usage comes from, as spills typically indicate something up with inlining or other internal compiler decisions whereas variables are more indicative of something wrong with the code.The text was updated successfully, but these errors were encountered: