summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-06-02 17:17:44 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-06-02 17:17:44 +0000
commit694886989cf28f59e3bb97b20d98bd79a363729b (patch)
tree25d1fde2cd44e57dc3582a04eca9e6671b85d4bc /llvm/lib/AsmParser
parent9ce58b1cfbb125c77dc7a89e43b767727c7bb4db (diff)
downloadbcm5719-llvm-694886989cf28f59e3bb97b20d98bd79a363729b.tar.gz
bcm5719-llvm-694886989cf28f59e3bb97b20d98bd79a363729b.zip
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
Diffstat (limited to 'llvm/lib/AsmParser')
-rw-r--r--llvm/lib/AsmParser/LLParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp
index 28419fb27c1..681af2a9007 100644
--- a/llvm/lib/AsmParser/LLParser.cpp
+++ b/llvm/lib/AsmParser/LLParser.cpp
@@ -3730,7 +3730,7 @@ bool LLParser::ParseDILocalVariable(MDNode *&Result, bool IsDistinct) {
OPTIONAL(file, MDField, ); \
OPTIONAL(line, LineField, ); \
OPTIONAL(type, MDField, ); \
- OPTIONAL(arg, MDUnsignedField, (0, UINT8_MAX)); \
+ OPTIONAL(arg, MDUnsignedField, (0, UINT16_MAX)); \
OPTIONAL(flags, DIFlagField, );
PARSE_MD_FIELDS();
#undef VISIT_MD_FIELDS
OpenPOWER on IntegriCloud