mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
3d401a1bf6
This patch adds support for GCC's -fstack-usage flag. With this flag, a stack usage file (i.e., .su file) is generated for each input source file. The format of the stack usage file is also similar to what is used by GCC. For each function defined in the source file, a line with the following information is produced in the .su file. <source_file>:<line_number>:<function_name> <size_in_byte> <static/dynamic> "Static" means that the function's frame size is static and the size info is an accurate reflection of the frame size. While "dynamic" means the function's frame size can only be determined at run-time because the function manipulates the stack dynamically (e.g., due to variable size objects). The size info only reflects the size of the fixed size frame objects in this case and therefore is not a reliable measure of the total frame size. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D100509 |
||
---|---|---|
.. | ||
AccelTable.cpp | ||
AddressPool.cpp | ||
AddressPool.h | ||
AIXException.cpp | ||
ARMException.cpp | ||
AsmPrinter.cpp | ||
AsmPrinterDwarf.cpp | ||
AsmPrinterInlineAsm.cpp | ||
ByteStreamer.h | ||
CMakeLists.txt | ||
CodeViewDebug.cpp | ||
CodeViewDebug.h | ||
DbgEntityHistoryCalculator.cpp | ||
DebugHandlerBase.cpp | ||
DebugLocEntry.h | ||
DebugLocStream.cpp | ||
DebugLocStream.h | ||
DIE.cpp | ||
DIEHash.cpp | ||
DIEHash.h | ||
DIEHashAttributes.def | ||
DwarfCFIException.cpp | ||
DwarfCompileUnit.cpp | ||
DwarfCompileUnit.h | ||
DwarfDebug.cpp | ||
DwarfDebug.h | ||
DwarfException.h | ||
DwarfExpression.cpp | ||
DwarfExpression.h | ||
DwarfFile.cpp | ||
DwarfFile.h | ||
DwarfStringPool.cpp | ||
DwarfStringPool.h | ||
DwarfUnit.cpp | ||
DwarfUnit.h | ||
EHStreamer.cpp | ||
EHStreamer.h | ||
ErlangGCPrinter.cpp | ||
OcamlGCPrinter.cpp | ||
PseudoProbePrinter.cpp | ||
PseudoProbePrinter.h | ||
WasmException.cpp | ||
WasmException.h | ||
WinCFGuard.cpp | ||
WinCFGuard.h | ||
WinException.cpp | ||
WinException.h |