diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index d652f59acb1..65627097fdf 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -2952,7 +2952,7 @@ struct ColumnField : public MDUnsignedField { ColumnField() : MDUnsignedField(0, UINT16_MAX) {} }; struct DwarfTagField : public MDUnsignedField { - DwarfTagField() : MDUnsignedField(0, ~0u >> 16) {} + DwarfTagField() : MDUnsignedField(0, dwarf::DW_TAG_hi_user) {} }; struct MDField : public MDFieldImpl { MDField() : ImplTy(nullptr) {}