This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: show size of stack needed by functions
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: sebastianspublicaddress at googlemail dot com
- Cc: Ian Lance Taylor <iant at google dot com>, "H.J. Lu" <hjl dot tools at gmail dot com>, gcc at gcc dot gnu dot org
- Date: Thu, 14 Oct 2010 00:16:29 +0200
- Subject: Re: show size of stack needed by functions
- References: <1287000338.3466.9.camel@svetz> <mcrd3rdrgsm.fsf@google.com> <1287006198.3466.34.camel@svetz>
On Wed, Oct 13, 2010 at 11:43 PM, Sebastian
<sebastianspublicaddress@googlemail.com> wrote:
> On Wed, Oct 13, 2010 H.J. Lu wrote:
>> GCC 4.6.0 has -fstack-usage.
> Thanks. That's probably the reason I didn't find it in current manuals.
>
> On Wed, Oct 13, 2010 Ian Lance Taylor wrote:
>> The mailing list gcc@gcc.gnu.org is for the development of gcc itself.
>> This question would be more appropriate for the mailing list
>> gcc-help@gcc.gnu.org. ?Please take any followups to gcc-help. ?Thanks.
> Since this turns into a feature request, I hope it's ok to continue
> using this list. Of course, I will also enter it into bugzilla if nobody
> tells me not to (because it would be a duplicate of an existing request)
>
>> gcc can not dump a callgraph. ?Both GNU ld and gold can dump a
Sure it can. In fact it does with -fdump-ipa-cgraph (ok, you need quite some
scripting to parse that into sth useful).
Richard.