The -Wstack-usage flag has been added, which provides a
warning message when size of stack exceeds user provided value.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Paths
| Differential D101965
Added Support for Warning Flag -Wstack-usage= AbandonedPublic Authored by rsanthir.quic on May 5 2021, 6:07 PM.
Details Summary The -Wstack-usage flag has been added, which provides a
Diff Detail
Unit TestsFailed Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 5 2021, 6:07 PM rsanthir.quic mentioned this in D101964: Added support for -Wstack-usage flag and Framesize reporting fix.May 5 2021, 6:10 PM Comment ActionsAnother approach is explored here: rsanthir.quic added reviewers: apazos, efriedma, lebedev.ri, jansvoboda11, xbolva00, MaskRay, seaneveson, bruno, MatzeB, hfinkel, craig.topper.May 5 2021, 6:16 PM
Revision Contents
Diff 343257 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
|