[PATCH] D102782: Add support for Warning Flag "-Wstack-usage="
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 2 20:32:49 PDT 2021
MaskRay added a comment.
In GCC -Wstack-usage= is more powerful. It can check `warning: stack usage might be unbounded`.
If this is currently just an alias, does it address some application pain? If we don't actually implement the -Wstack-usage= functionality, I'd hope that applications know this and gracefully degrade to -Wframe-larger-than= instead.
Having this functionality could give false impression that we have implemented the powerful detection usage.
And I expect that -Wstack-usage= is rarely used.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102782/new/
https://reviews.llvm.org/D102782
More information about the cfe-commits
mailing list