[llvm] r235955 - DebugInfo: Support up to 2^16 arguments in a subprogram

David Blaikie dblaikie at gmail.com
Tue Apr 28 09:24:23 PDT 2015


On Tue, Apr 28, 2015 at 2:32 AM, Joerg Sonnenberger
<joerg at britannica.bec.de> wrote:
> On Tue, Apr 28, 2015 at 01:07:34AM -0000, Duncan P. N. Exon Smith wrote:
>> Author: dexonsmith
>> Date: Mon Apr 27 20:07:33 2015
>> New Revision: 235955
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=235955&view=rev
>> Log:
>> DebugInfo: Support up to 2^16 arguments in a subprogram
>>
>> Support up to 2^16 arguments to a function.  If we do hit the limit,
>> assert out rather than restarting at 0 as we've done historically.
>
> Given that this can be triggered easily by user input, should this
> really be an assert?

Probably not - ideally it'd fail in the verifier, I'd imagine. But I'm
not too fussed personally.

- David

>
> Joerg
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list