DebugInfo: Really support 2^16 arguments in a subprogram
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 2 Jun 2015 17:17:44 +0000 (17:17 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 2 Jun 2015 17:17:44 +0000 (17:17 +0000)
commit16fb1632a122d0d0253f719c6b831c72c4dff23a
tree56abfc91dfb44833edc2a2892bfa40c0eab7a1ac
parent31ed6b767b9a595f88d6999a5c733d1ff0f94e66
DebugInfo: Really support 2^16 arguments in a subprogram

As a follow-up to r235955, actually support up to 65535 arguments in a
subprogram.  r235955 missed assembly support, having only tested the new
limit via C++ unit tests.  Code patch by Amjad Aboud.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238854 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/LLParser.cpp
test/Assembler/dilocalvariable-arg-large.ll [new file with mode: 0644]
test/Assembler/invalid-dilocalvariable-arg-large.ll [new file with mode: 0644]
test/Assembler/invalid-dilocalvariable-arg-negative.ll [new file with mode: 0644]