[PATCH] Internal option to warn on a given stack size.

Quentin Colombet qcolombet at apple.com
Mon Jun 3 20:26:30 PDT 2013


Hi Sean,

Thanks for the pointer!

It would be sufficient, but it seems to require a large amount of work for this to be done properly.
See r174748.

In my opinion, the proposed patch can be seen as the first step towards this warning. When the proper diagnostic framework land in LLVM, this could be turned into the desired warning.

What do you think?

-Quentin
On Jun 3, 2013, at 6:35 PM, Sean Silva <silvas at purdue.edu> wrote:

> Would it be sufficient to just implement GCC's `-Wframe-larger-than=2048` diagnostic? <http://llvm.org/bugs/show_bug.cgi?id=4072> (currently one of the outstanding parts of the linux meta-bug)
> 
> -- Sean Silva

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130603/56042996/attachment.html>


More information about the llvm-commits mailing list