[PATCH] D101965: Added Support for Warning Flag -Wstack-usage=
Ryan Santhirarajan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 5 18:07:38 PDT 2021
rsanthir.quic created this revision.
Herald added subscribers: dexonsmith, dang, hiraditya.
rsanthir.quic requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.
The -Wstack-usage flag has been added, which provides a
warning message when size of stack exceeds user provided value.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D101965
Files:
clang/include/clang/Basic/DiagnosticFrontendKinds.td
clang/include/clang/Basic/DiagnosticGroups.td
clang/include/clang/Driver/Options.td
clang/lib/CodeGen/CodeGenAction.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Frontend/backend-stack-usage-diagnostic.c
llvm/include/llvm/IR/DiagnosticInfo.h
llvm/lib/CodeGen/PrologEpilogInserter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101965.343257.patch
Type: text/x-patch
Size: 8783 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210506/ee787925/attachment.bin>
More information about the cfe-commits
mailing list