@@ -5865,6 +5865,7 @@ bool LLParser::parseDICompileUnit(MDNode *&Result, bool IsDistinct) {
58655865 REQUIRED (file, MDField, (/* AllowNull */ false )); \
58665866 OPTIONAL (language, DwarfLangField, ); \
58675867 OPTIONAL (sourceLanguageName, DwarfSourceLangNameField, ); \
5868+ OPTIONAL (sourceLanguageVersion, MDUnsignedField, (0 , UINT32_MAX)); \
58685869 OPTIONAL (producer, MDStringField, ); \
58695870 OPTIONAL (isOptimized, MDBoolField, ); \
58705871 OPTIONAL (flags, MDStringField, ); \
@@ -5897,7 +5898,8 @@ bool LLParser::parseDICompileUnit(MDNode *&Result, bool IsDistinct) {
58975898 Result = DICompileUnit::getDistinct (
58985899 Context,
58995900 language.Seen ? DISourceLanguageName (language.Val )
5900- : DISourceLanguageName (sourceLanguageName.Val , 0 ),
5901+ : DISourceLanguageName (sourceLanguageName.Val ,
5902+ sourceLanguageVersion.Val ),
59015903 file.Val , producer.Val , isOptimized.Val , flags.Val , runtimeVersion.Val ,
59025904 splitDebugFilename.Val , emissionKind.Val , enums.Val , retainedTypes.Val ,
59035905 globals.Val , imports.Val , macros.Val , dwoId.Val , splitDebugInlining.Val ,
0 commit comments