[PATCH] Sema: Eliminate recursion from checkForFunctionCall()

Richard Trieu rtrieu at google.com
Wed Jul 22 15:21:58 PDT 2015


A reduced test case wouldn't be that useful since stack overflows are
dependent on the system under test.  Since you have access to the code, you
can rerun Clang with all the warnings on (with "-Weverything") and just
disable this warning (with "-Wno-infinite-recursion").  This will show if
all the other warnings can handle your large CFG.

On Wed, Jul 22, 2015 at 3:07 PM, Vedant Kumar <vsk at apple.com> wrote:

> On Jul 22, 2015, at 2:50 PM, Richard Trieu <rtrieu at google.com> wrote:
> >
> > Is the code that produces the large CFG available?  It may be useful to
> test that other users of the CFG can cope with processing the code.
>
> Sadly no :(.
>
> Clang gave up after checking a little less than 25,000 CFGBlocks.
>
> Would you like me to try and reproduce this behavior with a simplified
> test case?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150722/09478d85/attachment.html>


More information about the cfe-commits mailing list