[DebugInfo] [NFCI] Adding a missed out line in support for DW_TAG_generic_subrange.

This commit adds a missed out line in earlier commit for DW_TAG_generic_subrange.
Previous commit ID: a6dd01afa3
Differential Revision: https://reviews.llvm.org/D89218
Thanks markus for pointing this out.
This commit is contained in:
Alok Kumar Sharma 2020-10-29 16:08:51 +05:30
parent 88d6421e4c
commit 930a8c60b6
1 changed files with 1 additions and 0 deletions

View File

@ -543,6 +543,7 @@ void DwarfExpression::addExpression(DIExpressionCursor &&ExprCursor,
break;
case dwarf::DW_OP_consts:
assert(!isRegisterLocation());
emitOp(dwarf::DW_OP_consts);
emitSigned(Op->getArg(0));
break;
case dwarf::DW_OP_LLVM_convert: {