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)
commit694886989cf28f59e3bb97b20d98bd79a363729b
tree25d1fde2cd44e57dc3582a04eca9e6671b85d4bc
parent9ce58b1cfbb125c77dc7a89e43b767727c7bb4db
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.

llvm-svn: 238854
llvm/lib/AsmParser/LLParser.cpp
llvm/test/Assembler/dilocalvariable-arg-large.ll [new file with mode: 0644]
llvm/test/Assembler/invalid-dilocalvariable-arg-large.ll [new file with mode: 0644]
llvm/test/Assembler/invalid-dilocalvariable-arg-negative.ll [new file with mode: 0644]