forked from OSchip/llvm-project
a6bcd53d52
Re applying after fixing issues in the diff, sorry for any painful conflicts/merges! Original RFC: http://lists.llvm.org/pipermail/llvm-dev/2017-August/117028.html This change adds a '.stack-size' section containing metadata on function stack sizes to output ELF files behind the new -stack-size-section flag. The section contains pairs of function symbol references (8 byte) and stack sizes (unsigned LEB128). The contents of this section can be used to measure changes to stack sizes between different versions of the compiler or a source base. The advantage of having a section is that we can extract this information when examining binaries that we didn't build, and it allows users and tools easy access to that information just by referencing the binary. There is a follow up change to add an option to clang. Thanks. Reviewers: hfinkel, MatzeB Reviewed By: MatzeB Subscribers: thegameg, asb, llvm-commits Differential Revision: https://reviews.llvm.org/D39788 llvm-svn: 319430 |
||
---|---|---|
.. | ||
FileCheck.rst | ||
bugpoint.rst | ||
dsymutil.rst | ||
index.rst | ||
lit.rst | ||
llc.rst | ||
lli.rst | ||
llvm-ar.rst | ||
llvm-as.rst | ||
llvm-bcanalyzer.rst | ||
llvm-build.rst | ||
llvm-config.rst | ||
llvm-cov.rst | ||
llvm-diff.rst | ||
llvm-dis.rst | ||
llvm-dwarfdump.rst | ||
llvm-extract.rst | ||
llvm-lib.rst | ||
llvm-link.rst | ||
llvm-nm.rst | ||
llvm-pdbutil.rst | ||
llvm-profdata.rst | ||
llvm-readobj.rst | ||
llvm-stress.rst | ||
llvm-symbolizer.rst | ||
opt.rst | ||
tblgen.rst |